You are here: irt.org | FAQ | JavaScript | Image | Q1735 [ previous next ]
The follow works on browsers that support the focus() method:
<html> <body> <map name="image-map1"> <area shape="rect" coords="15,15,85,85" href="default.htm" onMouseOver="if (this.focus) this.focus();"> <area shape="rect" coords="93,15,110,85" href="default.htm" onMouseOver="if (this.focus) this.focus();"> <area shape="circle" coords="150,50,35" href="default.htm" onMouseOver="if (this.focus) this.focus();"> </map> <img src="image.gif" border=0 width=200 height=100 usemap="#image-map1"> </body> </html>