My favorites | Sign in
Project Home Downloads Issues
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 325: Disable ajax reload
3 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Nov 2009


 
Reported by simon.de...@gmail.com, Sep 4, 2009
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
If you're using the default feature with nyroModal class on a link, it should be done
since the 1.5.1 version.

If that's what you're using, could you send a link or your code please?

And if not, could you tell me how you set the nyroModal? (your code may help here too!)
Sep 6, 2009
#2 mousedr...@gmail.com
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
Project Member #3 nyro...@gmail.com
@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
#4 piauhurl...@outlook.fr
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
Project Member #5 nyro...@gmail.com
@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
Project Member #6 nyro...@gmail.com
Does anybody need more help on this issue?
Oct 14, 2009
#7 piauhurl...@outlook.fr
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
Project Member #8 nyro...@gmail.com
@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

Powered by Google Project Hosting