For that, replace the existing function buildimage(i) with this one (additions red):
Code:
function buildimage(i){
var tempcontainer=galleryarray[i][3]!=""? '<a href="'+galleryarray[i][3]+'" target="'+href_target+'">' : ""
tempcontainer+='<span class="slottitle">'+galleryarray[i][1]+'<\/span><br \/><img src="'+galleryarray[i][0]+'" border="1" title="'+galleryarray[i][1]+'">'
tempcontainer=galleryarray[i][3]!=""? tempcontainer+'</a>' : tempcontainer
tempcontainer=galleryarray[i][2]!=""? tempcontainer+'<br \/>'+galleryarray[i][2] : tempcontainer
return tempcontainer
}
You can control the style of the 'title' from the stylesheet, example:
Code:
.slottitle {
color:#000;
background-color:#fff;
text-decoration:none;
}
The height of .slideshow will still need to be great enough to allow for this added content.
Bookmarks