我有一张带有HTML <map>
的大图片,我想跳转到该图像上的特定区域。我已经使用<area />
标签标记了这些位置。
请看以下代码:
<img src="demo_files/k3.png" id="target" alt="Map" usemap="#powerpuffgirls" />
<map name="powerpuffgirls">
<area shape="rect" coords="624,137,671,167" href="#" id="ppg" title="The Powerpuff Girls" alt="The Powerpuff Girls" />
<area shape="rect" coords="99,2685,161,2723" href="#" name="ppg1" title="The Powerpuff Gidrls" alt="The Powerpuff sGirls" />
</map>
然而,我无法移动到图像的任何区域。
编辑:任何其他移动到图像特定区域的方法都将是很好的!