Results 1 to 4 of 4

Thread: Image Thumbnail Viewer II does not show under IE 8.0

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

    Default Image Thumbnail Viewer II does not show under IE 8.0

    1) Script Title: Image Thumnail Viewer II

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...thumbnail2.htm

    3) Describe problem: Hi sir, I would like to try this code on my website. The weird thing is that it works perfectly under firefox browser, but when i switch to I.E. it doesn't work. The image does not pop on the loadarea in my IE 8.0. When I use IE 8.0 to browse script URL http://www.dynamicdrive.com/dynamici...thumbnail2.htm, it did not work as well. However, I tried to navigate to other user's page, for example, http://amysrabbitranch.com/Creekside...landscape.html, their images show properly from their site using IE 8.0. Please kindly advise if there is any possible cause of this issue. Thank you very much.

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

    Default

    Hmm strange. I can confirm the enlarged images don't show in IE8 even on the DD demo page, but only online. If I run it offline it does work. Just a stab, but what happens if you remove the code in red below from the script in the HEAD section of your page:

    Code:
    <script type="text/javascript" src="thumbnailviewer2.js" defer="defer">
    
    /***********************************************
    * Image Thumbnail Viewer II script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * Visit http://www.dynamicDrive.com for hundreds of DHTML scripts
    * This notice must stay intact for legal use
    ***********************************************/
    
    </script>
    DD Admin

  3. #3
    Join Date
    Apr 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It works after i remove defer="defer"

    Do you know why it affect the outcome in IE8?

    And, thanks a lot for your help

  4. #4
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    The defer attribute is an IE only thing, at least for now. It's a way of speeding up the initialization of scripts that would otherwise have wait until the onload event for the page fires. Apparently, in IE 8's case, it speeds it up too much.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •