Maphilight does not work in IE8 and Opera 9.63
strands - June 11, 2009 - 09:05
| Project: | jQuery Map Hilight |
| Version: | 6.x-1.0-beta1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
| Issue tags: | highlights not shown, ie8, map, no highlights, opera |
Jump to:
Description
Image map areas are not shown highlighted on IE8 (causes a "null or not an object" error) nor Opera 9.63
I'm not sure if this is a browser issue or not, but it can be temporarily solved in IE8 by emulating IE7. Place the following meta tag directly after the tag in the relevant tpl.php file, usually your theme's page.tpl.php:
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
Sorry, I don't have time to delve further into this at the moment.

#1
Thanks for the report. I don't have either browser handy at the moment. When i do I'll take a look (I'll have to support ie8 at some point anyway). Until then tested patches would be welcome.
Thanks again.
#2
Perhaps I am being daft but could you please give a more complete explanation of
After what tag please?
#3
This module is great in FF3, Opera and Google Chrome but I have the same experience that it doesn't work in IE8. The image map works but not the highlight.
On page.tpl.php I placed the above emulate IE8 meta tag within the head tag as follows:
<?php print $head ?><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
I cleared the browser and server caches and the meta tag eventually appeared in the page source but it didn't solve the problem. I have seen on various blogs that some jquery UI plugins don't work with the emulator, so maybe we have to wait.
#4
Sorry, I thought I forgot my head, but it's just that the
<head>tags were stripped out. It should read:Place the following meta tag directly after the
<head>tag in the relevant tpl.php file, usually your theme's page.tpl.php:#5
This is a problem with the jquery plugin, not the module. See http://plugins.jquery.com/node/6493 for more info. It seems this is indeed the fix for the time being. Thanks again for posting it.