我重新制作领域为您的气球,你有COORDS的挺乱的在那里。 只需将n.jpg
替换为参考图像上该气球编号的文件名即可。
更新: 将多边形更改为圆形,因为它们显示出一些不一致。 希望这一次它的工作。我们也可以关闭这个问题。
alt text http://thismayhem.com/img/stackoverflow.png
和那些为他们每个人的代码:
<area shape="circle" coords="231,49,46" href="" onmouseover="changeImage('1.jpg')" onmouseout="resetImage()"/>
<area shape="circle" coords="273,112,31" href="" onmouseover="changeImage('2.jpg')" onmouseout="resetImage()"/>
<area shape="circle" coords="169,150,33" href="" onmouseover="changeImage('3.jpg')" onmouseout="resetImage()"/>
<area shape="circle" coords="97,159,32" href="" onmouseover="changeImage('4.jpg')" onmouseout="resetImage()"/>
<area shape="circle" coords="134,59,38" href="" onmouseover="changeImage('5.jpg')" onmouseout="resetImage()"/>
<area shape="circle" coords="67,87,28" href="" onmouseover="changeImage('6.jpg')" onmouseout="resetImage()"/>
谢谢。其他人为我做了一些坐标。我按照你的指示改变了它们。我认为这真的可能是一个缓存问题,因为我现在在粉红色的气球上看到它。它应该显示总是显示3.jpg,但有时它会显示7.jpg甚至1.jpg。 噢,使用ie 7.最新的firefox喜欢在没有移动光学鼠标的情况下闪动图片,一旦鼠标悬停被制定并且您将鼠标闲置。 非常感谢 彼得 – 2009-12-23 03:45:12
JohhnyArt-上面的任何其他想法? 谢谢 彼得 – 2009-12-23 22:05:12
我唯一的猜测就是多边形在图像内部发疯了,我会试着用气球中心的圆圈来看看它是否能解决任何问题。稍后再检查一下 – johnnyArt 2009-12-23 22:16:56