Results 1 to 2 of 2

Thread: Thumbnail Viewer II, small modification

  1. #1
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Thumbnail Viewer II, small modification

    1) Script Title: Thumbnail Viewer II

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

    3) Describe problem: I have used this script and it works great. I did try to make one modification though, and it seems to be causing a problem I need help fixing. I added a div around the image that shows up when you mouse over. For some reason having this div with the color and border around it makes it so the link does not work. When I take the style part of the div off it works. Here is my code and the url of the page.

    imageHTML='<a href="'+dest+'">'+'<DIV ALIGN="center" CLASS="pics">'+imageHTML+'</a>'
    if (description!="") //Use title attr of the link as description?
    imageHTML+='<br />'+description + '</DIV>'


    http://www.aristorialane.com/carron.html

    The images swap, but the link to go the url doesn't work.

  2. #2
    Join Date
    Jun 2006
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    nevermind

    I moved the div outside the A HREF and it worked!

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
  •