Hello, thank you for helping me.
I have a gallery that has the title of the image next to the thumbnail. However, ideally I would like to be able to click onto the thumbnail, and the title appear underneath the image for viewing.
The javascript I found is:
<script type=”text/javaScript”>
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
ns3up = (browserName == “Netscape” && browserVer >= 3);
ie4up = (browserName.indexOf(“Microsoft”) >= 0 && browserVer >= 4);
function doPic(imgName) {
if (ns3up || ie4up) {
imgOn = (“” + imgName);
document.mainpic.src = imgOn;
}
}
</script>
HTML:
<tr>
<td><a href=”javascript:doPic(‘images/slidediv/winter/large/p1.jpg’);”><img src=”images/slidediv/winter/thumbs/p1.jpg” border=0 /></a></td>
<td>โAt The Endโ – by John M</td>
</tr>
But if I click on the thumbnail, I would like the title to appear in another part of the page and then I can get rid of the second table cell.
Thank you so much in advance. I have been searching all afternoon to find something that is similar. Maybe you can help.
๐ฎ