Because I have more and more requests for miscellaneous examples for nyroModal, I decided to implement some samples in a FAQ.
To prepare that, you could ask what you want here!
So let's comment!
by Nyro, Friday 07 November 2008 at 11:49:42 PM :: Programmation
Because I have more and more requests for miscellaneous examples for nyroModal, I decided to implement some samples in a FAQ.
To prepare that, you could ask what you want here!
So let's comment!
Comments.
#1 by xr
Hi,
Was wondering if nyroModal can launch from a link in an iframe?
Would be good to find out. Thanks!
the Wednesday 26 November 2008 at 10:02:06 AM
#2 by Ashish
I have a form in nyrolModal overlay. I submit the form and form has validation errors. The form with error message is now displayed as regular page instead of overlay modal. Please note that form is submitted back to server side.
How do I display the form with error message in same overlay modal.
the Saturday 29 November 2008 at 11:08:53 PM
#3 by webspilka
Hi I have problem with Nuro
in IE6 and IE7 its work
but Firefox and Google Chrome have problem
askoldtea.com.ua/askold/e...
???????: uncaught exception: [Exception... "Component returned failure code: 0x80004003 (NS_ERROR_INVALID_POINTER) [nsIDOMNSHTMLElement.innerHTML]" nsresult: "0x80004003 (NS_ERROR_INVALID_POINTER)" location: "JS frame :: askoldtea.com.ua/askold/t... :: anonymous :: line 22" data: no]
the Wednesday 03 December 2008 at 09:11:08 AM
#4 by Jai
When you load a page in the modal(through a link) is that content(e.g. HTML & javascript) able to interact with the rest of the page?
the Wednesday 03 December 2008 at 06:10:58 PM
#5 by Terry
Hello there
I can't make the cancel button working from a javascript confirm box when you click on a link from a modal windows.
Google
Any one can help?
Thanks
Terry
the Tuesday 06 January 2009 at 02:54:07 AM
#6 by Nyro
Terry,
Write your code like that :
$(function() {
$('#googleLink').click(function(e) {
e.preventDefault();
if (confirm('Go to google page?')) {
$.nyroModalManual({
url: this.href
});
}
return false;
});
});
Google
the Wednesday 07 January 2009 at 11:30:44 PM
#7 by Terry
Ca fonctionne, Merci Cédric.
Terry
the Friday 09 January 2009 at 02:00:59 AM
#8 by Kevin
Hi,
Enjoying plugin except for some odd behaviour in IE 7. Seems I am getting an error using a form method.
Unfortunately the code is not publicly accessible. I do load the following js files
/scripts/jquery-1.2.6.pack.js">
/scripts/jquery-ui-1.6rc2.packed.js">
scripts/uni-form.jquery.js" type="text/javascript">
scripts/autotab.jquery.js" type="text/javascript">
scripts/jquery.validate.js" type="text/javascript">
scripts/jquery.nyroModal-1.3.1.pack.js" type="text/javascript">
scripts/jquery.jqGrid.js" type="text/javascript">
scripts/jqModal.js">
scripts/jqDnR.js">
Though do not think that is the issue. IE comes back with a cryptic Function error on line 1. If you have any insight it would be much appreciated
Thanks
the Wednesday 28 January 2009 at 02:15:27 PM
#9 by Setsu
Hi it's possible with Nyromodal
passing data form with method post in a Modal with iframe?
I changed this line
go
but nothing
thank's
Setsu
the Monday 09 February 2009 at 04:37:35 PM
#10 by Nyro
Hi Setsu,
this will work in the next release (in testing for now)
the Monday 09 February 2009 at 05:44:36 PM
#11 by Setsu
Can we have a copy of the testing version?
We could contribute with our experience..
Thank's a lot anyway
Setsu
the Monday 09 February 2009 at 06:19:53 PM
#12 by Nyro
Hi Setsu,
the release 1.4.1 was released yesterday and fix you problem.
the Friday 13 February 2009 at 12:43:53 PM
#13 by bvde
Je suis conquis par ton script après en avoir essayé plusieurs.
Une suggestion:
Ajouter un compteur pour Google analytics avec
pageTracker._trackPageview('Photo '+link); ligne 150 et 160 du script
voir le site de Jay Salvat
blog.jaysalvat.com/articl...
the Wednesday 11 March 2009 at 07:22:47 PM
#14 by Nyro
Merci bvde.
Pas besoin de l'inclure dans le code. Il est possible de faire la même chose en utilisant un callback.
Et puis inclure un tel code au sein même code le rendra inutilisable pour tous les sites qui n'utilisent pas google analytics...
the Wednesday 11 March 2009 at 07:28:17 PM
#15 by bvde
Sorry. J'avais oublié le callback qui le permet. Quand on survole la doc !!!
the Wednesday 11 March 2009 at 08:09:44 PM
#16 by bvde
Désolé, mais je ne trouve pas et ne comprend pas comment utiliser un callback qui se déclenche sur les flèches.
De plus je ne suis pas sur que la variable link sera transmise
J'ai essayé en vain: $('a.nyromodal').nyroModal({endFillContent:pageTracker._trackPageview('Photo '+link);});
de même un simple : $('a.nyromodal').nyroModal({endFillContent:alert('Photo '+link);});
Peux-tu me mettre sur une piste ?
the Thursday 12 March 2009 at 09:42:09 AM
#17 by Terry
Bonjour Cédric,
Le bout de code tu que as écrit plus haut pour avoir un message de confirmation sur un lien ne fonctionne plus avec la dernière mise à jour de NyroModal (1.4.2).
$(function() {
$('#googleLink').click(function(e) {
e.preventDefault();
if (confirm('Go to google page?')) {
$.nyroModalManual({
url: this.href
});
}
return false;
});
});
Google
Peux tu m'aider
Merci
Terry
the Saturday 14 March 2009 at 10:22:10 PM
#18 by chard
how can i change the backgroung color of overlay?
the Wednesday 19 August 2009 at 11:59:16 PM
#19 by chard
seem im the only one having this problem on changing the bgcolor, tried setting the
$.fn.nyroModal.settings bgColor: '#FFF', but it doesnt have any effect. can anyone give me some tips on this?
the Thursday 20 August 2009 at 10:38:57 PM
#20 by chard
got it! linking nyro pack causing the problem.
the Thursday 20 August 2009 at 11:39:48 PM
#21 by mike
Bonjour Nyro,
J'utilise ton script sur un de mes sites en prod et la je dois admettre que je sèche. Je voudrais pouvoir ouvrir une page qui contient un formulaire et quand l'utilisateur clique sur le bouton envoyer, s'il y a des erreurs, celles si apparaissent dans la modal. Actuellement, en cas d'erreur la page formulaire est rechargée maisdans la fenêtre parent. (ah oui: je ne peux pas utiliser le plugin validate)
Je ne sais pas si c'est clair.
Pourrais tu m'aider , s'il te plait.
Merci d'avance.
Michael
the Wednesday 25 November 2009 at 05:31:19 PM
#22 by Grace
Hello,
I was wondering if there is a way to automatically load the nyromodal lightbox on page load, starting with the first image.
Thanks!
the Thursday 10 December 2009 at 12:19:49 PM
#23 by steve
can i use nyro to pass values to its parent window
the Thursday 11 March 2010 at 11:03:17 AM
Add a comment.