Tuesday, 28 March 2017

HTML : ทำรูปภาพให้ Link ไปได้หลาย URL ด้วย tag ชื่อ usemap และ mapname



<img src="~/Image/i_0.jpg" usemap="NEW_20170112" />
<map name="NEW_20170112">
<area shape="rect" coords="113, 108, 279, 140" href="http://AAA">
<area shape="rect" coords="115, 145, 279, 175" href="http://BBB">
<area shape="rect" coords="114,  76, 278, 104" href="http://CCC">
</map>


No comments:

Post a Comment