开发者

IE8 & 9 jQuery MapHilihght Bug

开发者 https://www.devze.com 2023-01-26 10:34 出处:网络
I am using jQuery maphilight plugin: davidlynch.org/js/maphilight/docs/ &开发者_运维知识库lt;-- (Sorry can only post 1 hyperlink).

I am using jQuery maphilight plugin: davidlynch.org/js/maphilight/docs/ &开发者_运维知识库lt;-- (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.


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.


I had a problem with maphilight in IE6 and IE7. The mouseover and mouseout does not get triggered. There was a problem with the selector area[coords]. Change all area[coords] selectors just to area without [coords].

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号