You are here: irt.org | FAQ | JavaScript | Image | Q642 [ previous next ]
Try something like:
<SCRIPT LANGUAGE="JavaScript"><!-- function show(name,src) { if (document.images) document.images[name].src = src; } //--></SCRIPT> <TABLE> <TR> <TD> <A HREF="javascript:show('myimagename','myimage.gif')"><IMG SRC="smallmyimage.gif" WIDTH="50" HEIGHT="50" BORDER="0"></A> </TD> </TR> <TR> <TD> <IMG SRC="blank.gif" NAME="myimagename" HEIGHT="200" WIDTH="200"> </TD> </TR> </TABLE>