Results 1 to 2 of 2

Thread: Pop-up image problem in IE8

  1. #1
    Join Date
    Oct 2011

    Pop-up image problem in IE8

    I have been using an image viewer script (Image Thumbnail Viewer Script-found at dynamicdrive.com) for a few years on my website with great success until IE8. The image script works fine, the problem comes when you close the image window. The page where the thumbnail that opens the image is located immediately scrolls to the top of the page once you close the popup. This does not happen in IE6, IE7 or FF, I have not yet tested it in chrome or safari. I have noticed similar behaviour on some other sites, when clicking a JavaScript link, but not on all sites using a JavaScript link. Again, it only happens in IE8.

    This is the part of the script which closes the window that holds the image:

    thumbnailviewer.dotask(window, function(){thumbnailviewer.cleanup()}, "unload")

    I'm hoping it's one of those "just add this" or "just change this to that" and not re-write the entire script, it's a fairly large script.

    I can post the contents of the entire script if that would help.

    Thanks in advance for any ideas or help.
    Here is an example page:

  2. #2
    Join Date
    Jun 2004
    Portsmouth UK

    God loves you and will never love you less.

    If my post has been useful please donate to http://www.operationsmile.org.uk/

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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