C
charliefortune
I have succesfully made rollover images appear in a table cell, but I
cannot seem to make the caption appear in a seperate cell underneath.
This is how I attempted it ..
<script language="JavaScript" type="text/JavaScript">
function design(file, displayName){
viewer.src = 'assets/shirts/medium/'+ file +'.gif';
document.underText.write(displayName);
}
</script>
........
....
..
<td><div name = "underText" id = "underText"></div></td>
.......
......
The variables are being passed correctly as viewer.src works correctly.
The script appears before the <html> tag, but it doesn't seem to work
wherever I put it.
cannot seem to make the caption appear in a seperate cell underneath.
This is how I attempted it ..
<script language="JavaScript" type="text/JavaScript">
function design(file, displayName){
viewer.src = 'assets/shirts/medium/'+ file +'.gif';
document.underText.write(displayName);
}
</script>
........
....
..
<td><div name = "underText" id = "underText"></div></td>
.......
......
The variables are being passed correctly as viewer.src works correctly.
The script appears before the <html> tag, but it doesn't seem to work
wherever I put it.