I have a simple DHTML gallery:
<script>
viewPhoto(thumb){
function viewPhoto(thumb){
document.getElementById('mainPhoto').src=thumb.hre f;
return false;
}
</script>
....
<body>
<a onclick="javascript:return viewPhoto(this);" href="whatever"><img src="thumbnail" /></a>
</body>
....
I want the currently viewed images' thumbnail to have a nice thick red-border.
I have managed to do this slap dash, but I had a better way, My only problem is
that I need to find out the DOM Array value of the thumbnail object (ie the "thumb" param)
Is this possible?