View Full Version : Image Thumbnail Viewer II - Long Captions on click with rollover

11-25-2007, 03:00 AM
1) Script Title: Image Thumbnail Viewer II

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

3) Describe problem:

I'm new to this and would greatly appreciate any help. I searched the forums and figured out variations of what I would like to do, but not exactly what I'm looking for. I'm able to use this script perfectly but would like to add captions to the images.

Here's what I need: The thumbnail images have a rollover and function onClick. The captions are long, can be several paragraphs, so loading these in the title is not ideal. Also, I would like a title in a different format than the description.

Here's the sample link: http://www.weidenhamer.com/gallery1/


11-25-2007, 06:09 AM
Instead of storing the captions inside the thumbnail's title attribute, the two other feasible places would be:

1) As JavaScript variables
2) Directly inline on the page as regular HTML

For 1), you'd probably be confronted with the same cumbersomenesses as with the title attribute. For 2), the changes required would be rather extensive though, enough that it would warrant a new script created actually. In the meantime, you may want to look at Switch Content Script II (http://www.dynamicdrive.com/dynamicindex17/switchcontent2.htm), which actually does most of what you want. The Switch Icons in this case would be your thumbnail images instead.

11-26-2007, 11:11 PM
Thanks for your help. I ended up just putting the description in the title. Every browser/platform is fine except IE 7. The rollovers seem to be causing problems. How can I fix this? Your help is greatly appreciated!