如何使用图像映射制作所选区域的背景颜色

时间:2014-12-10 08:06:51

标签: jquery html css

<map name="instalacja">
<area shape="poly" coords="122,36,281" href="#ppg" title="The Powerpuff Girls" alt="The Powerpuff Girls">
<area shape="poly" coords="864,667," href="#cn" title="Cartoon Network" alt="Cartoon Network" >            
<area  class ="p" shape="poly" coords="1010,297,995," data-toggle="modal" data-target="#myModal2" title="Buttercup" alt="Tył" onmouseover="this.style.backgroundColor='#00FF00';" onmouseout="this.style.backgroundColor='transparent';">
</map>

如何指定颜色或边框区域?我尝试过不同的方法,但没有一种方法有效吗? 感谢

0 个答案:

没有答案