Results 1 to 3 of 3

Thread: Magnify duration not working

  1. #1
    Join Date
    Mar 2010
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up Magnify duration not working

    1) Script Title: magnify image

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

    3) Describe problem: I was thinking that the "duration" attribute was used to say how long the magnified imaged would be displayed. If this is correct, it doesn't seem to work n any browser I try. IE 8, FF latest and Crome.
    Also, it would be real nice to have some text on the magnified image to say, "click here to close" or "close", or even an "X" on the top right. Is that possible? My users were complaining that they could not get the magnified image to go away, they did not think of clicking on it.. dahh...
    Great script. thanks...

  2. #2
    Join Date
    Aug 2004
    Posts
    9,890
    Thanks
    3
    Thanked 964 Times in 953 Posts
    Blog Entries
    15

    Default

    The duration has nothing to do with how long the enlarged image will stay on the screen actually, but rather, the duration of the animation. In other words, the time it takes for the thumbnail image when clicked on to transition over to the magnified one.

    As far as adding a text when the image is enlarged telling users to click it to close it, sure, try the below modified .js file. It adds such a text that overlays the enlarged image.
    DD Admin

  3. The Following User Says Thank You to ddadmin For This Useful Post:

    underbar (03-18-2010)

  4. #3
    Join Date
    Mar 2010
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Thumbs up

    Hi, thanks. Perfect... That did it. Thanks for the very quick reply. Thanks for the explanation of the duration attribute. Nice work...

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
  •