Results 1 to 3 of 3

Thread: used Image Thumbnail Viewer II script but doesn't work in IE 6 & 7

  1. #1
    Join Date
    Jun 2008
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question used Image Thumbnail Viewer II script but doesn't work in IE 6 & 7

    1) Script Title: script doesn't work in IE 6 & 7

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

    hi,

    i am a newbee and i found the Image Thumbnail Viewer II script from the dd library and used in one of my sites. but it is not working in IE 6 and 7.
    so please help me figure out my error and fix it so my site can be finished as it is the only thing remaining in the site.

    Here is the url for my page where i have used the Image Thumbnail Viewer II script :

    http://r-interactive.net/clients/villa%5Fblue/

    their is a property highlight page in my side at the bottom left side, where i have used the script when the mouse moves over the text the image above it will change. It works fine in firefox but not in IE 6 and 7.

    so have a look at my page and suggest me how can i fix it to work fine in all the browsers.

    Help Appreciated.

  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

    Get rid of the defer attribute (from your source code, 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>
    I know the demo page says to use it, but for some reason, with all those other scripts on your page, IE needs to use a different initialization method. Fortunately several are built into the thumnailviewer2.js script, and an appropriate one will take over for IE, once this defer attribute (which only IE would use anyway) is removed.
    - John
    ________________________

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

  3. #3
    Join Date
    Jun 2008
    Posts
    19
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hi john,

    thanks for helping and my error is solved by removing the the defer code as suggested by you.

    cheers.

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
  •