What you can do is to replace the nobr tag with a table (modified from the demo):
Code:
<table id="trueContainer"><tr><td><a href="javascript:enlargeimage('dynamicbook1.gif')"><img src="dynamicbook1.gif" border=1></a><br>Description</td><td><a href="javascript:enlargeimage('dynamicbook1.gif', 300, 300)"><img src="dynamicbook1.gif" border=1></a><br>Description</td><a href="http://www.dynamicdrive.com"><img src="dynamicbook1.gif" border=1></a><br>Description <td><a href="#"><img src="dynamicbook1.gif" border=1></a><br>Description</td><td><a href="#"><img src="dynamicbook1.gif" border=1></a><br>Description</td><td><a href="#"><img src="dynamicbook1.gif" border=1></a><br>Description</td><td><a href="#"><img src="dynamicbook1.gif" border=1></a><br>Description</td><td><a href="#"><img src="dynamicbook1.gif" border=1></a><br>Description</td><td><a href="#"><img src="dynamicbook1.gif" border=1></a><br>Description</td></tr></table>
Be sure to look at the entire above code segment. There is only one row, this is important. Each image and link is enclosed in a cell (<td>) with an added <br> tag followed by the word 'Description' which you can replace with your text for each image. The height of the gallery will need to be increased by about 30 (over what it would be for just images) to accommodate the descriptions (from gllerystyle.css):
Code:
#motioncontainer {
/*margin:0 auto; Uncomment this line if you wish to center the gallery on page */
width: 50%; /* Set to gallery width, in px or percentage */
height: 130px; /* Set to gallery height */
}
Additional style may be added to the stylesheet to control the presentation in the table cells, ex:
Code:
#motioncontainer td {
text-align:center;
vertical-align:top;
font-size:85%;
font-family:sans-serif;
}
Bookmarks