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 11: Inline content displayed loses it's Jquery functions/hooks.
2 people starred this issue and may be notified of changes. Back to list
Status:  Fixed
Owner:  ----
Closed:  Apr 2008


 
Reported by gregarno...@gmail.com, Apr 28, 2008
I'm not sure if this is just inline content or all content. Losing the
ability to use livequery on ajax returned content into the model or even
inline content severly limits the usability of this plugin. If this is by
design than consider it an enhancement request, if not then a defect.

Using: nyroModal-1.2.2.pack.js

Here is an example:

HTML
----------------------------
<a class="nyroModal" href="#test_div">test_me</a>
<div id="test_div" style="display:none;">
	<img id="test_img" src="images/test.gif">
</div>

JAVASCRIPT
----------------------------
$("#test_img").click( function() {
	alert("test");
});

When you click on the <a> to the model launches with the image. If you then
click on the image the JavaScript $("#test_img").click() never fires.

If I'm a complete moron and missed something obvious please educate me then
forgive me :)

-Greg

Apr 28, 2008
Project Member #1 nyro...@gmail.com
I didn't test this feature for a while.
I fixed this bug, I'll release the version 1.2.3 tomorrow morning to fix this bug.

Moreover it was an error in the filetype function when the current location contains
a hash.

Thanks for your report!
Status: Fixed

Powered by Google Project Hosting