Results 1 to 4 of 4

Thread: Image Thumbnail Viewer II

  1. #1
    Join Date
    Sep 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Image Thumbnail Viewer II

    1) Script Title: http://www.dynamicdrive.com/dynamici...thumbnail2.htm

    2) Script URL (on DD): http://www.loveguitarsgallery.com/te.../product1.html

    3) Describe problem: It's clearly not working!! Can anyone point out where I'm going wrong?

    Thanks
    Kerstey

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

    Default

    There seems to be something wrong with your surrounding HTML, perhaps an unclosed tag. In IE for example, if I move my mouse over the "Product Photos" header right above the thumbnail links, the link below it gets highlighted. The mismatch in a:hover is probably a HTML container or unclosed tag issue, which would also explain why the script fails to assign the proper behavior to those thumbnail links in IE.

    Check your HTML for the above. If needed, move the HTML for your thumbnail links outside any element other than the BODY to see if that fixes the problem:

    Code:
    	<h1>Product Photos</h1>
    		<a href="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg" rel="enlargeimage::mouseover" rev="loadarea::http://www.dynamicdrive.com" title="This is an example">Thumbnail Example 1</a><br />
    		<a href="http://www.nasa.gov/images/content/168177main_image_feature_749_ys_4.jpg" rel="enlargeimage::mouseover" rev="loadarea">Thumbnail Example 2</a><br />
    
    		<a href="http://www.nasa.gov/images/content/166615main_image_feature_733_ys_4.jpg" rel="enlargeimage::click" rev="loadarea">Thumbnail Example 3 (click)</a><br />
    		<a href="http://www.nasa.gov/images/content/168291main_image_feature_750_ys_4.jpg" rel="enlargeimage::click" rev="loadarea">Thumbnail Example 4 (click)</a><br /><br />
    		<div id="loadarea"></div>
    	</div>
    DD Admin

  3. #3
    Join Date
    Sep 2009
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    It looks like it's something to do with another script that I'm using from Dynamic Drive.

    I had a a slide show at the top of the page, but then took out the script in the head and the thumbnail view works - but I need both.

    Any ideas?
    Thanks

  4. #4
    Join Date
    Dec 2008
    Location
    Portsmouth, UK
    Posts
    1,891
    Thanks
    2
    Thanked 441 Times in 435 Posts

    Default

    Code:
    <script type="text/javascript" src="http://www.loveguitarsgallery.com/testpages/thumbnailviewer2.js" defer="defer">
    I removed defer="defer" and it worked
    Vic
    God Loves You and will never love you less.
    http://www.vicsjavascripts.org/Home.htm
    If my post has been useful please donate to http://www.operationsmile.org.uk/

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
  •