[OpenLayers-Users] Problem with transparent PNG's and IE6
Glen Stampoultzis
gstamp at gmail.com
Wed Oct 10 19:47:46 EDT 2007
On 11/10/2007, jonz <jonathan.zaid at mediolanum.it> wrote:
>
> I don't know what your code was to generate the image nor do I understand
> what was expected, but I too dealt with the transparent PNG IE6 "problem" in
> the HTML content of a popup div. What I did was to convert every tag
> so for example
> /img/OpenLayers/pop/ul.png
>
> becomes
> <DIV style="DISPLAY: inline-block; FILTER:
> progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/img/OpenLayers/pop/ul.png',
> sizingMethod='scale'); WIDTH: 32px; HEIGHT: 9px"></DIV>
>
> in the case that OpenLayers.Util.alphaHack() is true.
>
> Don't know if this is the best way to do it, but it works for me.
>
>
> ciao
> jon
>
Thanks Jon,
Which is basically what I'm it's doing (OL markers do this
automatically). As can be see from the screenshot [1] it works for
the ones on the background map but not for those on popup map.
[1] http://farm3.static.flickr.com/2201/1530334012_e5301a8a3e_o.gif
More information about the Users
mailing list