Results 1 to 3 of 3

Thread: Thumbnailviewer2.js ain't working on IE!

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

    Default Thumbnailviewer2.js ain't working on IE!

    Its been almost 2 days that im on that.. I really need help. I've used this code before and it work perfectly on FF and IE. But this time, it doesn't show on IE, but on FF it's working.

    Could someone tell me what could be the problem that makes IE unable to display enlarged images?

    Here's the page on my site : http://www.asgsoudure.qc.ca/equipements.php, click for "more information" (Plus d'information) and its there that the images aren't displaying. If anybody needs anything else to help me, I can surely provide that.

    Thank you, and hoping to have a fast answer.

  2. #2
    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

    Two possible problems. But first please restore the on page credit for the Ultimate Fade-In slideshow:

    Your page is in violation of Dynamic Drive's usage terms, which, among other things, state that the script credit must appear in the source code of the page(s) using the script. Please reinstate the notice first.


    OK, on to the problems with the viewer. It could be one or both of these:

    Your image filenames and their href values contain non-standard characters in the UTF-8 content type, change your content type meta tag from:

    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    to:

    Code:
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    But I think your server is overriding that and presenting the code in iso-8859-1 or similar anyway. The real problem appears to be (highlighted):

    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>
    The defer attribute is a great shortcut in IE, but when there are other scripts on the page it sometimes causes problems, as it certainly appears to be here. Just get rid of it:

    Code:
    <script type="text/javascript" src="thumbnailviewer2.js">
    
    /***********************************************
    * 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>
    Make these two changes (and please reinstate the credit to the other script as mentioned) and you should be fine (tested here in IE 7).
    - John
    ________________________

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

  3. #3
    Join Date
    Jan 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you very much, it worked with the defer="defer" off the tag.

    And I putted the license note back in the slideshow script.. sorry for that tho.

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
  •