Results 1 to 3 of 3

Thread: Thumbnail Viewer Before and After

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

    Default Thumbnail Viewer Before and After

    I've installed thumbnailviewer, and it works great. After the large image loads, however, I would like people to be able to mouseover the image to see the "before" photo.

    Basically, very similar to this post: http://www.dynamicdrive.com/forums/s...ad.php?t=55441 only for thumbnailviewer (not thumbnailviewer II). I wish I could extrapolate from that thread, but I'm just not very bright with scripting.

    Thank you!!

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

    Default

    Sure, try the below modified .js file, which changes the enlarged image when you mouse over it to original_over.extension, where "_over" is the new part, and back to the original filename onmouseout. This means if your original enlarged image is "mydog.jpg", you should also have uploaded "mydog_over.jpg" etc.
    DD Admin

  3. #3
    Join Date
    Mar 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much! I've changed it to onmousedown and onmouseup (and switched it to only close when you hit "Close"). It's working perfectly!

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
  •