日期:2014-05-17  浏览次数:20767 次

求代码解释 谢谢
<img
src="/i/eg_planets.jpg"
border="0" usemap="#planetmap"
alt="Planets" />

<map name="planetmap" id="planetmap">

<area
shape="circle"
coords="180,139,14"
href ="/example/html/venus.html"
target ="_blank"
alt="Venus" />

<area
shape="circle"
coords="129,161,10"
href ="/example/html/mercur.html"
target ="_blank"
alt="Mercury" />

<area
shape="rect"
coords="0,0,110,260"
href ="/example/html/sun.html"
target ="_blank"
alt="Sun" />

</map>


------解决方案--------------------
这是w3school代码吧,是图片映射的,你看例子就明白了
http://www.w3school.com.cn/tiy/t.asp?f=html_areamap
------解决方案--------------------
对地图图片划分不同的区域,不同的区域加入不同的操作~~