Results 1 to 3 of 3

Thread: Make the thumbnail a link

  1. #1
    Join Date
    Dec 2005
    Posts
    107
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile Make the thumbnail a link

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem: Can anyone tell me how to make the "thumbnails" or the "small images" go to a hyperlink?

    I see that the enlarged version is hyperlinked and I want to do the same on smaller image.

    Any support will be greatly 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

    There was an earlier version of this script that made that sort of thing much easier. However, this sort of syntax works fairly well with this version:

    Code:
    <a href="photo1.jpg" rel="enlargeimage::mouseover" rev="loadarea::http://www.dynamicdrive.com" title="This is an example"><img title="Click for Google" src="photo1_thumb.jpg" alt="Thumbnail Example 1" border="0" onclick="window.open('http://www.google.com/','_self');"></a>
    In the above example, hovering the image will in most browsers (in addition to revealing the larger image, etc. in the loadarea) give its (the image's) title attribute "Click for Google" as a 'tool tip' and link to Google if clicked due to its (the image's) onclick event.
    - John
    ________________________

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

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

    Default

    You are using a link and not a thumbnail for the mouseover, is there anyway of making that a link to what you want it to open?

    Basically I'm using the script to mouseover a link to preview the first page of the document that will open on a click.

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
  •