PDA

View Full Version : Image Thumbnail Viewer II question



DaveX
10-31-2007, 05:56 PM
1) Script Title: Image Thumbnail Viewer II

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

3) Describe problem: Can I use this with a frame setup and have it so when I place the cursor over a thumbnail, it loads a page (not a picture) in another frame or, alternatively, is there a different way to simply have a link activate with a mouseover rather than a click?

jscheuer1
11-02-2007, 03:05 PM
Without using the script would probably be easier:


<a href="image_1.htm"
onmouseover="window.frames['iframe_name'].location.href=this.href;"
onclick="return false;"><img
src="image_1_tbn.jpg" style="border:none;"></a>

The iframe would look something like so:


<iframe name="iframe_name" src="beginning.htm" height="250" width="300"></iframe>

If you wanted to avoid the page in the iframe from getting into the history stack, you would do:


<a href="image_1.htm"
onmouseover="window.frames['iframe_name'].location.replace(this.href);"
onclick="return false;"><img
src="image_1_tbn.jpg" style="border:none;"></a>