| Issue 325: | Disable ajax reload | |
| 3 people starred this issue and may be notified of changes. | Back to list |
|
How can I disable reloading the modal when i hit enter key (after the first time)?
Sep 5, 2009
Project Member
#1
nyro...@gmail.com
Sep 6, 2009
I think I have the same problem, I have a hidden div with an iframe inside, in
explorer it shows without reloading the iframe, but not in chrome and ff. I dont want
it reloading, so what to do ?
the code:
<a href="#hiddenCalendar" class="nyroModal">Calendar</a>
<div id="hiddenCalendar" style="display: none;">
<iframe id="Iframe1" src ="PhonerCalendar.aspx" enableviewstate="true" runat="server"
width="680" height="448" scrolling="no"></iframe>
</div>
Sep 11, 2009
@simon: any news abouy your issue? @mousedream, this isn't the same trouble. I can't do anything about your issue. The problem occurs because the modal get a DOM element to place it in another place.
Oct 4, 2009
I have a similar problem than Simon.
I use the manual function on reload. The code is below :
$(function() {
$.nyroModalManual({
url: 'http://www.chaussures-accessoires.com/publicite/inscription.html'
});}); //-->
It works fine the first time when the index page is loaded. The problem is when I hit
the logo, the modal windows is loaded again.
What I would like : loaded only the first time the modal.
The versions used : jquery.nyroModal-1.5.2.js and jquery-1.3.2.min.js
Could you, please help me ?
Oct 4, 2009
@martin: if you want to show the modal only one time, you could use a cookie, a session or something server-side to add your code only the first time.
Oct 13, 2009
Does anybody need more help on this issue?
Oct 14, 2009
Hello Nyrodev, Thanks for your answer but I don't know how to do that. If you could give us an example, it should be fantastic ! Regards
Nov 8, 2009
@martin-store: This is a server-side thing, so I won't help you here as it's not related to nyroModal directly.
Status:
Fixed
|
||||||||