<script language="javascript" type="text/javascript">
function show(photo) {
  document.photo.src = photo;		  
}
</script>

<img name="photo" src="1.jpg"><BR>
<a href="javascript: show('2.jpg');"><img border="0" src="2.jpg"></a>
Published in: JavaScript
Download

Related snippets