我已经建立了一个网站,并希望使订阅按钮可点击(an href)。
到目前为止,这是我的代码。我的问题是我不知道该怎么做坐标。有可以使用的网站吗?
<map name="subscribe"
<area shape="rect" coords="0,0,82,126" href="http://www.google.com" alt="Test">
</map>
这是我的图片:
地图区域坐标为:左,上,宽,高
<img width="600px" src="http://i.stack.imgur.com/AQ4BD.png" usemap="#subscribe">
<map name="subscribe">
<area shape="rect" coords="230,55,385,100" href="http://www.google.com" alt="Test">
</map>
忍者 有多种解决方法,例如使用成像软件查找坐标,添加边框的javascript代码或我的首选选项-改为使用透明div。
本文收集自互联网,转载请注明来源。
如有侵权,请联系 [email protected] 删除。
我来说两句