In IE7 the opacity of the click-displaying png layer is not set.

Got to run to a meeting where I'll be demoing this right NOW, but here's the fix I used:

In click_heatmap.log.inc, replaced:

return '

Only local images are allowed. TRUE)) .'" style="opacity: '. (1 - $_GET['display']['transparency'] * 0.01) .';" />

With:

return '

Only local images are allowed. TRUE)) .'" style="opacity: '. (1 - $_GET['display']['transparency'] * 0.01) .';filter: alpha(opacity = '.$_GET['display']['transparency'].');" />

It means you'll fail some CSS validation checks, but if you want opacity working in IE, it looks like you kinda have to use "alpha(opacity)" even if it's not standard. Workingness trumps validation.

Not a proper patch, I'm afraid.

Comments

boombatower’s picture

/me hates having to deviate from standards due to IE/M$.

Obviously I can simply add it may do so, but seriously...what's up with Microsoft...can't get it right by now?

boombatower’s picture

Version: 6.x-2.5 » 6.x-2.x-dev
Assigned: Unassigned » boombatower
Category: bug » task
Status: Needs review » Fixed

I am using ClickHeat interface now with minimal wrapper...so in their court now...not sure if it works in IE7 with their interface.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.