2010-6-23 09:32
wind蓝
JS如何实现改变一张图片中热点区域的边框的颜色!请高手赐教
我在一张图片上用了 <map> 标签设定了几个热点区域 现在就是想实现这样一个效果... 当鼠标移动到图片上面某个热点区域时,这个热点区域的边框就呈现红色,移开后还原! 我就是不知道用JS如何能够改变图片中热点区域边框的颜色!! <img src= "../images/200411.jpg " width= "380 " height= "570 " border= "0 " usemap= "#Map "> ... <map name= "Map "> <area shape= "rect " coords= "11,284,211,564 " href= "news.htm " target= "news " > <area shape= "rect " coords= "10,117,249,281 " href= "news2.htm " target= "news "> </map> 怎样才能使这2个区域边框呈红色!!急啊。