Results 1 to 3 of 3

Thread: Image Thumbnail Viewer II - Modification Help

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

    Unhappy Image Thumbnail Viewer II - Modification Help

    1) Script Title: Image Thumbnail Viewer II

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

    3) Describe problem: I have successfully installed this script for one of our clients, however instead of using a link to load the larger image we want to use a button, and a button that highlights when moused over. Below is the site and the script. We thought we integrated the two but the button is not highlighting when we mouseover.

    Help please!

    Site where it isn't working: http://www.mlmmomentum.com/index-offline.htm

    Our script:
    <a href="Lanitech_Artwork/homepage_piece2.jpg" onmouseover="image1.src='Lanitech_Artwork/homepage_button1_on.jpg';" rel="enlargeimage::mouseover" rev="loadarea" onmouseout="image1.src='Lanitech_Artwork/homepage_button1.jpg';" target="_self">
    <img name="image1" src="Lanitech_Artwork/homepage_button1.jpg" border="0" width="288" height="80"></a>

  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

    Image Thumbnail Viewer II overwrites mouseover/out events for its trigger link tags when the mouseover method ( rel="enlargeimage::mouseover") is used.

    However, you have a perfectly good image tag that will be unaffected, use that, ex:

    Code:
    <a href="Lanitech_Artwork/homepage_piece2.jpg" rel="enlargeimage::mouseover" rev="loadarea" 
    target="_self"><img onmouseover="this.src='Lanitech_Artwork/homepage_button1_on.jpg';" 
    onmouseout="this.src='Lanitech_Artwork/homepage_button1.jpg';" 
    src="Lanitech_Artwork/homepage_button1.jpg" border="0" width="288" height="80"></a>
    - John
    ________________________

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

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

    Default

    You are the best!!! It works great. Thanks for your kind help.

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
  •