PDA

View Full Version : Image Thumbnail Viewer II



yazta
03-21-2008, 05:37 PM
1) Script Title: Image Thumbnail Viewer II

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

3) Describe problem:
hi,
how do I change the font and colour of the text for the "title" attribute of the thumbnail that appears underneath the enlarged image?
thanks

ddadmin
03-22-2008, 09:23 AM
Well, inside the .js file, the description portion is output here:


if (description!="") //Use title attr of the link as description?
imageHTML+='<br />'+description

You could do a universal formatting of it by adding in the desired HTML tags, for example:


if (description!="") //Use title attr of the link as description?
imageHTML+='<br /><span style="font: bold 14px Arial; color: red">'+description+'</span>'