View Full Version : jQuery Image Magnifyer not working

01-12-2012, 06:00 AM
1) Script Title: :: jQuery Image Magnify v1.11

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/imagemagnify.htm

3) Describe problem: I can get this script to work by itself as in this page: http://sageturtledesign.com/Ramsay/magnify.html

However, it will not work inside this script. Can you tell me why? http://sageturtledesign.com/Ramsay/gallery.html

I will also ask the designer of the accordian script it sits inside.

If you can help me I'd appreciate it.


01-12-2012, 01:39 PM
That's because your images to magnify are originally collapsed/ hidden on the page. The magnify script gets the dimensions of the images to magnify during the page loading stage, which in this case would return 0, resulting in the issue you see. Try the below modified .js file, which should overcome this limitation.