PDA

View Full Version : Help with Image Thumbnail viewer 2



surreal_drop
03-06-2007, 04:33 PM
1) Script Title:
Thumbnail Viewer 2

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

3) Describe problem:

You can specify whether the "title" attribute of the thumbnail links should be shown as description text underneath the enlarged image....

I would like to have the text shown ABOVE the enlarged image.

I tried to edit the javascript code... but just broke it instead.

Please help.
~D

jscheuer1
03-06-2007, 04:48 PM
Change this line in loadimage:function(linkobj):


imageHTML+='<br />'+description

to:


imageHTML=description+'<br />'+imageHTML;

surreal_drop
03-06-2007, 05:02 PM
You rock my socks off.
Thanks!