My Computer Know-How
Saturday, October 6, 2007
Making parts of images clickable in HTML
<img src="MyImageURL" usemap="#MyMap" />
<map id="MyMap">
<area shape="rect" coords="0,0,100,100" alt="" onclick="alert('Clicked');"/>
</map>
Note: Shape can get these values:
Rect
, Circle and Polygon
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment