PDA

View Full Version : Image Thumbnail Viewer II - Modification Help



vlane95678
02-13-2009, 11:36 PM
1) Script Title: Image Thumbnail Viewer II

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/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>

jscheuer1
02-14-2009, 06:05 PM
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:


<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>

vlane95678
02-17-2009, 07:18 PM
You are the best!!! It works great. Thanks for your kind help.:)