View Full Version : mouseover and click function

06-09-2007, 11:06 AM
Hi there,
I have looked at various scripts on dynamic drive. Can anyone tell if there is a script that has the functions on this website page.

maybe this one could be adapted


ie. mouseover link gets a small thumb, then onclick gets a larger image.

If there is not one, I think it would be a nice addition to some great scripts on the site

Thanks in advance.


06-09-2007, 04:15 PM
That actually is a script like Image Thumbnail Viewer II being used inside of a frameset and could be done using Image Thumbnail Viewer II inside of a frameset.

All you would need to do (once you setup your frameset) is add onclick events to the triggers (the circles on the example page) to load the larger image into the frame, for example:

<a href="some.jpg" rel="enlargeimage::mouseover" rev="loadarea::http://www.dynamicdrive.com" title="This is an example" onclick="parent.window.frames['main'].location='some_bigger_jpg.htm';return false;"><img src="circle.gif"></a>

Where 'main' is the name of the frame this and the Image Thumbnail Viewer II is in and that you want to fill with the page containing the larger image.