You are here: irt.org | FAQ | JavaScript | History | Q657 [ previous next ]
Try the following that was provided by David Swain:
<IMG SRC="menu.gif" USEMAP="#menu"> <MAP NAME="menu"> <SCRIPT LANGUAGE="JavaScript"><!-- document.writeln('<AREA SHAPE="rect" COORDS="0,35,99,72" HREF="javascript:history.back();">'); document.writeln('<AREA SHAPE="rect" COORDS="500,35,600,72" HREF="javascript:history.forward();">'); //--></SCRIPT> <AREA SHAPE="rect" COORDS="100,35,199,72" HREF="http://www.somesite.com/"> <AREA SHAPE="rect" COORDS="200,35,299,72" HREF="http://www.anothersite.com/"> <AREA SHAPE="rect" COORDS="300,35,499,72" HREF="http://www.othersite.com/"> <AREA SHAPE="default" NOHREF> </MAP>