IE8& 9 jQuery MapHilihight 错误
我正在使用 jQuery maphilight 插件:davidlynch.org/js/maphilight/docs/ <-- (抱歉只能发布 1 个超链接)。
我已经复制了与插件完全相同的代码,以尝试使其正常工作。到目前为止,它可以在 FF、Chrome、IE7 中运行,但不能在 IE8 或 IE9 中运行?!
这是我的预览: http://www.globalpreviews2.co.uk/test/shops/< /a>
测试将鼠标悬停在“男性”图标上。
任何帮助将不胜感激, 谢谢。
I am using jQuery maphilight plugin: davidlynch.org/js/maphilight/docs/ <-- (Sorry can only post 1 hyperlink).
I have copied the code exactly as the plugin to try and get it working. So far it works in FF, Chrome, IE7 but not IE8 or IE9?!
Here is my preview: http://www.globalpreviews2.co.uk/test/shops/
To test hover over the 'Male' icon.
Any help would be appreciated,
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我已经解决了这个问题。我的代码中有这样的内容:
已将其替换为 selectivizr: http://selectivizr.com/
现在一切都很好。
I have resolved the problem. I had this in my code:
<!--[if lt IE 9]>
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta3)/IE9.js"></script><![endif]-->
Have swapped it for selectivizr: http://selectivizr.com/
All is now good.
我在 IE6 和 IE7 中遇到了 maphilight 问题。
mouseover
和mouseout
不会被触发。选择器area[coords]
出现问题。将所有area[coords]
选择器更改为不带[coords]
的区域。I had a problem with maphilight in IE6 and IE7. The
mouseover
andmouseout
does not get triggered. There was a problem with the selectorarea[coords]
. Change allarea[coords]
selectors just to area without[coords]
.