[Chameleon] Internet Explorer and PNG?

Tyler Mitchell tjm at timberline.ca
Mon Apr 4 12:14:07 EDT 2005


Beautiful, works great guys.  Thanks for all the answers.

Tyler

Thijs Brentjens wrote:
> Hi,
> 
> The problem still exists in IE, as far as I know. At least in a project 
> of us we still have it. So Tyler, you didn't do anything wrong, but you 
> could blaim IE if you'd like. There is a workaround (PNG Hack) however, 
> although it costs some performance. You can find info on it here: 
> http://www.mongus.net/pngInfo/.
> 
> To get it working in Chameleon, you should change (in pngHack.htc) the 
> line:
>      if ((src.indexOf("png") == -1) //...
>  into:
>      if ((src.indexOf(".png") == -1) && (src.indexOf("drawmap.php") == 
> -1)) //..
> 
> And to make sure that the pngHack is used, add this to your template:
> 
> <link rel=stylesheet href="/pngHack/pngHack.css" type="text/css">
> 
> For our project it works (also for PNG24), hopefully it is of any use 
> for you too.
> 
> regards,
> Thijs
> 
> At 15:27 1-4-2005, Paul Spencer wrote:
> 
>> Tyler,
>>
>> I haven't noticed this behaviour in any of our apps.  I know that 
>> there (were?) problems in IE with PNGs but I don't know if that would 
>> be related?  Anyone else (Bart?) have any ideas?
>>
>> Paul
>>
>> Tyler Mitchell wrote:
>>
>>> I've been testing my app in Firefox. Now I'm looking at it in IE and 
>>> it seems to have lost the transparency of the background images for 
>>> my legend symbols.  Works fine with sample_enhanced.  Any cluse as to 
>>> what I did wrong?  I'm using PNG24 in drawmap now. ??
>>> Tyler
>>> _______________________________________________
>>> Chameleon mailing list
>>> Chameleon at lists.maptools.org
>>> http://lists.maptools.org/mailman/listinfo/chameleon
>>
>> _______________________________________________
>> Chameleon mailing list
>> Chameleon at lists.maptools.org
>> http://lists.maptools.org/mailman/listinfo/chameleon
> 
> 
> 
> 
> 
> 


More information about the Chameleon mailing list