Log in

View Full Version : Image Thumbnail Viewer II - click instead of hover



eclipsetalk
06-03-2011, 01:08 PM
Hello,
I'd like to use Image Thumbnail Viewer II http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm in a slightly different way. Instead of displaying images on mouse hover, I'd like to display images on mouse click.
Any idea on how to achieve this? Is there a script that already does that?
Thanks in advance for your help.

azoomer
06-03-2011, 02:03 PM
take a look at the documentation (http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm) again. Scroll down and find the "trigger" option.

one example of click activation is given:

<a href="myimages/first.jpg" rel="enlargeimage" rev="targetdiv:largearea, trigger:click,preload:no,link:http://cnn.com">Thumbnail</a>

eclipsetalk
06-03-2011, 02:36 PM
Thank you very that did it!