简体   繁体   English

IE8中图像地图上的鼠标悬停

[英]Mouseovers on image maps in IE8

I'm having a problem with IE (who isn't) executing my javascript. IE(不是)执行我的JavaScript时出现问题。 Are there any known issues with attaching mouseovers to image maps in IE8? 在IE8中将鼠标悬停在图像地图上是否存在任何已知问题? I'm not seeing any similar posts. 我没有看到任何类似的帖子。

For instance, here is the HTML in one of my pages: 例如,这是我的页面之一中的HTML:

<map name="Map" id="Map">
  <area shape="poly" coords="2,575,389,637,388,19,1,74" alt="Main Page" onmouseover="fade('indexpop')" onmouseout="fade('indexpop');" />
</map>

Pretty simple. 很简单 In every browser but IE, this excecutes the "fade" function to fade in (or out) a div with some information. 在除IE之外的所有浏览器中,这都执行“淡入淡出”功能以淡入(或淡出)带有某些信息的div。

The function itself is here , but I don't think the issue is with the function but with the mouseovers. 函数本身在这里 ,但我认为问题不在于函数,而在于鼠标悬停。

Thanks, 谢谢,

-tcm <>< -tcm <> <

您是否不必将鼠标悬停在IMG(图像)而不是图像地图上?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM