[ka-Map-users] IE6 & Transparency with layers

Jason Fournier jfournier at dmsolutions.ca
Tue Jul 29 11:00:34 EDT 2008

Hi Manu,


If I recall correctly ka-Map comes with a css class called png24 (ie, the
pngfix you refer to) – put this on your image, specify a width and a height
(required), and it should work for you.  If there is no png24 class then add
the following to your css:


img.png24 {




And the following to your javascript:


function msApplyPNGFilter(o) {

    var t="./images/transparent.gif";

    if( o.src != t ){

        var s=o.src; o.src = t; o.runtimeStyle.filter =



You will need a single pixel transparent.gif in your images folder for the
above to work verbatim.







From: ka-map-users-bounces at lists.maptools.org
[mailto:ka-map-users-bounces at lists.maptools.org] On Behalf Of manu -
Sent: Tuesday, July 29, 2008 10:37 AM
To: ka-map-users at lists.maptools.org
Subject: [ka-Map-users] IE6 & Transparency with layers


Hi Everyone,

I've been working for some month with ka-map having great results with
Mozilla Firefoz and IE 7. But i'm having problems with IE 6 and tranparency.

The thing is that i have defined my layers with the imageformat set to png24
so the transparency works perfectly with Firefox and IE7. I have tried some
workarounds with pngfix and css modifications with no result.

I will be so thankful if someone could help me with this issue.

Thank you very much for your time.



¡Sé solidario, haz clic! Por cada búsqueda que hagas desde Windows Live
Search, estarás ayudando a los que más lo necesitan ¡Sé solidario, haz clic!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20080729/2a2eb27a/attachment.html

More information about the ka-Map-users mailing list