Results 1 to 8 of 8

Thread: Image Thumbnail Viewer II in IE7

  1. #1
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II in IE7

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem:

    I set up the Image Thumbnail Viewer in FireFox and it works fine. When I load the same page in IE7 and hover over the thumbnails the picture in the associated div doesn't change. Did I miss something? Any feedback is appreciated.

    Jesse

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

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.

  3. #3
    Join Date
    Feb 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Link to Effected Site

    Here is a sample site with the problem I am having:
    http://fitnessfootwear.vortx.com/p-9...lady-blue.aspx

    Thanks for your help.
    Jesse

  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

    Something, probably a conflict with another script, is preventing the viewer from initializing or from initializing properly. I can paste the initialization command into the address bar and hit enter, like so:

    Code:
    javascript:void(thumbnailviewer2.init())
    and that makes it work. So, adding this to the end of your page just before the </body> tag (it might work better in the head of the page, I like doing it at the end though) should do about the same thing:

    Code:
    <!--[if IE]>
    <script type="text/javascript">
    if ( typeof window.attachEvent != "undefined")
    window.attanchEvent('onload' thumbnailviewer2.init);
    </script>
    <![endif]-->
    However, this might be better (but only at the end of the page):

    Code:
    <!--[if IE]>
    <script type="text/javascript">
    thumbnailviewer2.init();
    </script>
    <![endif]-->
    Try them out.
    - John
    ________________________

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

  5. #5
    Join Date
    Jan 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default IE7 and thumbnailviewer2 still no go

    Hi John (and possibly others!)

    You seem to be very knowledgeable and I wonder if you can help me..

    I searched a lot and tried some of the posted fixes, but I can't get thumbnailviewer2 to work with this page..

    http://www.derekfinnegan.com/index.html

    Firefox and Safari on Mac are oK, but IE 7 in Vista,, no go.

    Ideas?


    Thanks

    Eddie Reyes


  6. #6
    Join Date
    Oct 2008
    Location
    Sweden
    Posts
    2,023
    Thanks
    17
    Thanked 319 Times in 318 Posts
    Blog Entries
    3

    Default

    Try changing this in your thumbnailviewer2.js file:
    Code:
    enableTransition: true, //Enable fading transition in IE?
    Set it to false:
    Code:
    enableTransition: false, //Enable fading transition in IE?
    Good luck!

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

    Quote Originally Posted by Snookerman View Post
    Try changing this in your thumbnailviewer2.js file:
    Code:
    enableTransition: true, //Enable fading transition in IE?
    Set it to false:
    Code:
    enableTransition: false, //Enable fading transition in IE?
    Very unlikely to help in this case, but shouldn't hurt. However the OP's thumbnailviewer2.js file is already improperly edited, and there is garbage in the external script tag.

    Quote Originally Posted by er777 View Post
    Hi John (and possibly others!)

    You seem to be very knowledgeable and I wonder if you can help me..

    I searched a lot and tried some of the posted fixes, but I can't get thumbnailviewer2 to work with this page..

    http://www.derekfinnegan.com/index.html

    Firefox and Safari on Mac are oK, but IE 7 in Vista,, no go.

    Ideas?
    I'm surprised it works in any browser. Get rid of (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
    **********************************************/
    var thumbnailviewer2={
    enableTitle: true, //Should "title" attribute of link be used as description?
    enableTransition: false, //Enable fading transition in IE?
    hideimgmouseout: false, //Hide enlarged image when mouse moves out of anchor link? (if enlarged image is hyperlinked, always set to false!)
    
    filter :progid:DXImageTransform.Microsoft.GradientWipe(duration=0);//control fade on pictures//
    
    <!--[if IE]>
    <script type="text/javascript">
    if ( typeof window.attachEvent != "undefined")
    window.attachEvent('onload' /%javasPath%/js/thumbnailviewer2.init);
    </script>
    <![endif]-->
    
    
    
    </script>
    And download the script:

    http://www.dynamicdrive.com/dynamici...nailviewer2.js

    from Dynamic Drive again, your current copy has errors from being incorrectly edited.
    Last edited by jscheuer1; 01-07-2009 at 03:23 PM. Reason: add top comments
    - John
    ________________________

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

  8. #8
    Join Date
    Jan 2009
    Posts
    6
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you so much John!

    You nailed it immediately.

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
  •