Results 1 to 3 of 3

Thread: Getting mouseover to work on Thumbnail Viewer II

  1. #1
    Join Date
    Apr 2010
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Getting mouseover to work on Thumbnail Viewer II

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem:

    I had this working and now I don't know what I did to kill it. The large image doesn't come up when you mouseover the thumb.

    The prototype site is http://dspdesignworks.com/projects/fredy/

    Please let me know what else I can share. This is my first post here.

    Thanks
    Last edited by jscheuer1; 04-10-2010 at 01:51 PM. Reason: fix broken link

  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

    Your copy of the script has become altered somehow. You have:

    Code:
    var imageHTML='<img src="../public_html/scripts/'+imagepath+'" style="border-width: 0" />' //Construct HTML for enlarged image
    if (typeof dest!="undefined") //Hyperlink the enlarged image?
    imageHTML='<a href="../public_html/scripts/'+dest+'">'+imageHTML+'</a>'
    where it should be just:

    Code:
    var imageHTML='<img src="'+imagepath+'" style="border-width: 0" />' //Construct HTML for enlarged image
    if (typeof dest!="undefined") //Hyperlink the enlarged image?
    imageHTML='<a href="'+dest+'">'+imageHTML+'</a>'
    Either restore the original code or get a fresh copy of the script from the demo page and use it in place of yours.
    - John
    ________________________

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

  3. #3
    Join Date
    Apr 2010
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Ah, yes, I did move files around. I figured it would be something stupid that I did. Thanks, that fixed it.

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
  •