Results 1 to 2 of 2

Thread: jQuery Image Magnifyer not working

  1. #1
    Join Date
    Jan 2012
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default jQuery Image Magnifyer not working

    1) Script Title: :: jQuery Image Magnify v1.11

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...agemagnify.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.

    thanks,
    Sue

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    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.
    DD Admin

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •