PDA

View Full Version : Picture Titles Do Not Display



vanbao
12-12-2007, 06:25 AM
1) Script Title: Thumbnail Viewer
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex4/thumbnail2.htm

3) Describe problem: For some reasons, the pictures title do not show up. Is there suppose to a way to get the picture title to show up underneach each large picture when the over is place over each thumb nail.

I noticed in the codes that there is a place to enter the title of the picture. I did that but my titles are not showing up. Perhaps I missed something.

ddadmin
12-12-2007, 09:44 AM
Yep, the "title" attribute of the thumbnail link itself is where you'd specify the text to show underneath the enlarged image, for example:


<a href="http://www.nasa.gov/images/content/167040main_image_feature_738_ys_4.jpg" rel="enlargeimage::mouseover" rev="loadarea::http://www.dynamicdrive.com" title="This is an example">Thumbnail Example 1</a>

If doing this doesn't work for you, please post a link to the page on your site that contains the problematic script so we can check it out.

vanbao
12-12-2007, 06:58 PM
ddadmin,

Thank you so much for your help. It works perfectly. Is there any way to change the color of the title.

jscheuer1
12-12-2007, 07:23 PM
Whatever loadarea you are using, that is also its id. So you can style it in the head of the page, as you would any id, ex:


<style type="text/css">
#loadarea {
color:red;
}
</style>

vanbao
12-13-2007, 12:08 AM
Thank you John.