Well, you need to make a container for your captions, like:
HTML Code:
<div id=cap>Initial caption goes here</div>
and put that under your main image there.
Use a script like this in the head of the page:
Code:
<script type="text/javascript">
//enter captions below, use as many as you need.
//if you use a single quote, escape it like so: That\'s cool!
//if you break a line - break it after a comma like below
caps=["Initial caption goes here","caption for first image",
"caption for second image","third caption"]
//don't mess with the rest unless you know what you are doing
function get_cap(cap_num){
document.getElementById('cap').innerHTML=caps[cap_num]
}
</script>
then in the thumbnails, where you have the onMousedown= event, add:
HTML Code:
onmouseOver="get_cap(1);" onmouseOut="get_cap(0);"
for each one, this example is for the first image and its caption, the second would look like this:
HTML Code:
onmouseOver="get_cap(2);" onmouseOut="get_cap(0);"
Good for IE6 NS7.2 FF1.0.1
Bookmarks