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 389: Enabaling Nyromodal links that are generated with javascript innerHTML
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Nov 2009


 
Reported by tempat.s...@gmail.com, Nov 29, 2009
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 :-)
Nov 30, 2009
Project Member #1 nyro...@gmail.com
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
Status: Fixed
Dec 1, 2009
#2 tempat.s...@gmail.com
Thanks, that solved it :-)

Powered by Google Project Hosting