简体   繁体   中英

Mouseovers on image maps in IE8

I'm having a problem with IE (who isn't) executing my javascript. Are there any known issues with attaching mouseovers to image maps in IE8? I'm not seeing any similar posts.

For instance, here is the HTML in one of my pages:

<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.

The function itself is here , but I don't think the issue is with the function but with the mouseovers.

Thanks,

-tcm <><

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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