PDA

View Full Version : Image Thumbnail Viewer II - onclick 4 url option?



BizGen
02-13-2007, 03:24 PM
1) Script Title: Image Thumbnail Viewer II

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

3) Describe problem: I want to use this script as a graphical menu, with the thumbnails displaying a larger image with mouseover...That's what the script does, and it works great...fantastic. BUT I would like the users to be able to click the thumbnails and then go to another url. How can I do this when the href is already being used for the enlarged image location?

Any suggestions gratefully received.

Mike
BizGen

jscheuer1
02-13-2007, 04:50 PM
I think DD really painted himself into a corner as far as that sort of functionality goes when he upgraded this script. There is no good easy way, at least as far as I can tell. However, if one were to use this mod:

http://home.comcast.net/~jscheuer1/side/files/thumb2.htm

of the earlier version of the script, it would be easy. The href would be the href period. The larger images and their links (if any) are set in an array.

poohster
02-13-2007, 05:20 PM
i too think this script is great but is it possible to have an image already in place where the image will load before mouseover

jscheuer1
02-13-2007, 06:19 PM
My version already has that. The current DD version can too in virtually the same way. Just put an image tag here (from the demo page):


<div id="loadarea" style="width: 500px">
This DIV will show my enlarged images!
</div>

ex:


<div id="loadarea" style="width: 500px">
<img src="whatever.jpg">
</div>

poohster
02-13-2007, 06:46 PM
thanks thats great just what i wanted :)

Edgesz28
03-02-2007, 04:22 PM
Your modification is exactly what I needed. The ability to display the title over or under the enlarged image, yet hyperlink the thumbnail as well.

See: http://www.smithembroideryworks.com/towels.htm

Thanks so much, Ed