创建图片影射

<html>
<head>
</head>
<body>
<p>
<img border="0" src="007.png" alt="007" usemap="#planetmap" />
<map name="planetmap" id="planetmap">
<area shape="rect" coords="0,0,50,50" href="http://g.cn" target="_blank" />
</map>
</p>
</body>
</html>

 

 

<html>

<body>

<p>请把鼠标移动到图像上,看一下状态栏的坐标如何变化。</p>

<p>
<a href="/example/html/html_ismap.html">
<img src="/i/eg_planets.jpg" ismap />
</a>
</p>

</body>
</html>
ismap获取坐标易死机

posted @ 2011-11-14 11:10  Chaoswoo  阅读(341)  评论(0编辑  收藏  举报