I have a simple DHTML gallery:
<script>
viewPhoto(thumb ){
function viewPhoto(thumb ){
document.getEle mentById('mainP hoto').src=thum b.href;
return false;
}
</script>
....
<body>
<a onclick="javasc ript: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?