What steps will reproduce the problem?
1. clicking a Nyromodal link that is generated with innerHTML / ajax.
What is the expected output? What do you see instead?
open a nyromodal that has been defined on the href; opens the href on the
page, instead.
What version of the product are you using? On what operating system?
Nyromodal 1.5.5, Vista, using Firefox 3.5.5.
Please provide any additional information below.
Hi, thanks for making this amazing script.
I'm having trouble when the links are generated using javascript innerHTML.
I've already set the classes to 'nyromodal', but Nyromodal doesn't detect it.
Thickbox has similiar problems, but can be fixed by using this:
http://www.developersnippets.com/2009/06/04/jquery-ajax-tabs-with-thickbox-enabled/
Thickbox's solution is it recalls function tb_init() to scan the elements
again.
How do you do this with Nyromodal?
Thank you :-)
the nyroModal function is here to do that. Use it like: $('#selector .nyroModal').nyroModal(); Here is the page in the wiki that was here to give you this information: http://nyromodal.nyrodev.com/wiki/index.php/Deal_with_dynamically_generated_links