Results 1 to 3 of 3

Thread: Image Thumbnail Viewer II

  1. #1
    Join Date
    Jan 2010
    Posts
    51
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II

    http://www.dynamicdrive.com/dynamici...thumbnail2.htm

    For some reason, when I test the code with the following html I don't get the mouse over effect. What am I doing wrong?


    Code:
     <html>
    
    
    <head>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script>
    
    <script type="text/javascript" 
    
    src="http://escapebetweenthepages.com/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>
    </head>
    
    
    <body>
    
    <a href="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg" title="This is a picture of my hamster!" rel="enlargeimage" 
    
    rev="targetdiv:mydiv1,trigger:mouseover">Thumbnail</a>  <br />
    <a href="http://www.nasa.gov/images/content/168177main_image_feature_749_ys_4.jpg" 
    
    title="This is a picture of my hamster!" rel="enlargeimage" rev="targetdiv:mydiv2,trigger:mouseover">Thumbnail</a> <br />
    
    </body>
    
    
    </html>

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

    Default

    The reference to thumbnailview2.js in your code above is broken:

    http://escapebetweenthepages.com/thumbnailviewer2.js

    Make sure you've uploaded this file to the root directory of the domain in question.
    DD Admin

  3. #3
    Join Date
    Jul 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Thank you, this script was just what I was looking for. A question though, is it possible to load the first image into the targetdiv on page load? I have a number of thumbnails down the right-hand side of my page with the diplay area (targetdiv) on the left-hand side. When the page loads it is blank until the user mouseovers an image. It would look better if there was an image shown full size when the page is loaded.

    Thanks

    Steve

Similar Threads

  1. Image Thumbnail Viewer II - Option for thumbnail?
    By doriggidy in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 06-11-2012, 12:45 AM
  2. No image clicking thumbnail on Image Thumbnail Viewer II
    By Ratto84 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 05-08-2011, 11:06 AM
  3. Image Thumbnail Viewer II Active Thumbnail on Slideshow? (help please) :)
    By SoulieBaby in forum Dynamic Drive scripts help
    Replies: 0
    Last Post: 08-11-2008, 12:41 AM
  4. Image Thumbnail Viewer - unwanted border around thumbnail images
    By solder_on in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 05-23-2007, 11:19 AM
  5. Image Thumbnail Viewer II - thumbnail question
    By sarahmdr in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 03-17-2006, 10:06 PM

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
  •