| Issue 512: | Dynamic links using Ajax content | |
| 1 person starred this issue and may be notified of changes. | Back to list |
|
What steps will reproduce the problem? 1. I can send you the code 2. 3. What is the expected output? What do you see instead? I expect the modal window to be the same size each time I click on the dynamically <a> link containing the nyroModal class. What version of the product are you using? On what operating system? nyroModal-1.5.2 Please provide any additional information below. I have a page that creates HTML content dynamically using Jquery. The contents of a hyperlink created is as follows:- <a hef="NS_3_Lst_Specf_Prod_by_Supplr_ajax1.php?product=xx&version=yy" class="nyroModal"><img src="http://www.natureshop.com.au/images/Notepad.jpg" height="20" width="20" /></a> The issue I have is when the page is first rendered an I click on the link the nyroModal window generates with the right size. Any subsequent click on the Any Other link reduces the window to almost quarter of its size. Using Firebug, I noticed that the <div> nyroModalWrapper width, height , margintop , margin-left values are reduced significantly from the first time I click the link . I invoke nyroModal using the following code:- $('.nyroModal').live("click", function(event) { event.preventDefault(); $(this).nyroModalManual({ debug: false, height: null, width: null }); Appreciate any assistance. Thanks Mathew
Jul 30, 2010
#1
natures...@gmail.com
Jul 31, 2010
(No comment was entered for this change.)
Status:
Invalid
|
||||||||