this is very simple...
1. have the "id" and/or "name" attribute for the big image (example "bigImage")
2. when those links below are clicked, read and change "src" attribute of an <img>
3. you are done....
consider following:
<script language="JavaScript">
var imgs = new Array('photo1.gif','photo2.gif');
function setImage(index)
{
document.getElementById('bigImage').src = imgs[index];
}
</script>
<img src="x.gif" name="bigImage" id="bigImage">
<a href="" onClick="setImage(1)"; return false;">photo1</a>
<a href="" onClick="setImage(2)"; return false;">photo2</a>
hope that helped
www.campusgrind.com - college portal