You are here: irt.org | FAQ | JavaScript | Image | Q414 [ previous next ]
Yes:
<map name="image-map"> <area shape="rect" coords="15,15,85,85" href="javascript:alert('Square')" onMouseOver="self.status='Square';return true" onMouseOut="self.status='';return true"> <area shape="rect" coords="93,15,110,85" href="javascript:alert('Rectangle')" onMouseOver="self.status='Rectangle';return true" onMouseOut="self.status='';return true"> <area shape="circle" coords="150,50,35" href="javascript:alert('Circle')" onMouseOver="self.status='Circle';return true" onMouseOut="self.status='';return true"> </map> <img src="image.gif" border=0 width=200 height=100 usemap="#image-map">