<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>
Hello Lorenzo,<br><br>First of all, thank you for your response.<br><br>About what you said, i've changed the format type from png24 to png16 in the map file, and what i get now is that i have no transparency both in ie6 and firefox.<br><br>I'm sorry, but it's important for me that it works in the same way with those web browsers.<br><br>Thank you very much.<br><br>Manu<br><br>> Date: Thu, 14 Aug 2008 12:10:30 +0200<br>> From: lorenzo@ominiverdi.com<br>> CC: ka-map-users@lists.maptools.org<br>> Subject: Re: [ka-Map-users] IE6 & Transparency with layers<br>> <br>> Hola Manu,<br>> just to say that using png24 with IE6 and the JS trick is not a good <br>> idea at all.<br>> the rendering is very slow and the overall performances of the map <br>> navigation get bad quickly.<br>> I suggest you to use PNG (PNG16) instead.<br>> you'll avoid all kind of problems on rendering.<br>> ciao<br>> Lorenzo<br>> <br>> <br>> manu - wrote:<br>> > Hey,<br>> ><br>> > I've changed the kaMap.js file in order to put the class attribute in <br>> > each of the images of the tile, and now my tiles look like this:<br>> ><br>> > <img id="i30" class="png24" height="256" width="256" src="http://192.168.10.43/ka-map/htdocs/tile.php?map=gmap&t=-3072&l=512&s=227538135372&g=Proyectos&i=png24" style="position: <br>> > absolute; top: -256px; left: 0px; width: 256px; height: 256px; <br>> > visibility: visible;"/><br>> ><br>> > But the result is the same as before, i have no transparency.<br>> ><br>> > Any ideas?<br>> ><br>> > Regards.<br>> ><br>> > Manu<br>> ><br>> > ------------------------------------------------------------------------<br>> > From: malbela7@hotmail.com<br>> > To: ka-map-users@lists.maptools.org<br>> > Subject: RE: [ka-Map-users] IE6 & Transparency with layers<br>> > Date: Tue, 29 Jul 2008 20:08:39 +0000<br>> ><br>> > Thank you so much Jason,<br>> ><br>> > Hope someone jumps in and give us some ligth<br>> ><br>> > Regards.<br>> ><br>> > Manu<br>> ><br>> > ------------------------------------------------------------------------<br>> > From: jfournier@dmsolutions.ca<br>> > To: ka-map-users@lists.maptools.org<br>> > Subject: RE: [ka-Map-users] IE6 & Transparency with layers<br>> > Date: Tue, 29 Jul 2008 15:10:20 -0400<br>> ><br>> > Hi Manu,<br>> ><br>> > <br>> ><br>> > I took a look. The tiles do not appear to have class="png24" on them:<br>> ><br>> > <br>> ><br>> > <img width="256" height="256" <br>> > src="http://216.230.155.125/ka-map/htdocs/tile.php?map=gmap&t=-2560&l=1024&s=227538135372&g=Proyectos&i=png24" <br>> > style="position: absolute; top: 256px; left: 768px; width: 256px; <br>> > height: 256px; visibility: visible;" id="i75"/><br>> ><br>> > <br>> ><br>> > It’s possible that the class is being applied via the DOM but I don’t <br>> > think that’s the case. It’s been a while - I can’t recall if there’s <br>> > a way through ka-Map‘s API to apply png24 to the tiles or not. <br>> > Perhaps others can jump in and let us know if there’s a way. If not <br>> > then you’ll likely want to use 8 bit pngs (and sacrifice alpha <br>> > transparency for IE6 compatibility).<br>> ><br>> > <br>> ><br>> > Best regards,<br>> ><br>> > Jason<br>> ><br>> > <br>> ><br>> > <br>> ><br>> > *From:* ka-map-users-bounces@lists.maptools.org <br>> > [mailto:ka-map-users-bounces@lists.maptools.org] *On Behalf Of *manu -<br>> > *Sent:* Tuesday, July 29, 2008 2:00 PM<br>> > *To:* ka-map-users@lists.maptools.org<br>> > *Subject:* RE: [ka-Map-users] IE6 & Transparency with layers<br>> ><br>> > <br>> ><br>> > Sorry Jason, i just clicked the Reply button without considering the <br>> > mailing list.<br>> ><br>> > Here you have the url where you can find the sample i'm working on.<br>> ><br>> > http://216.230.155.125/ka-map/htdocs<br>> ><br>> > If you open it with IE6 and select the layer "Proyectos" you can see <br>> > what is going wrong.<br>> ><br>> > Thank you<br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > From: jfournier@dmsolutions.ca<br>> > To: ka-map-users@lists.maptools.org<br>> > Subject: RE: [ka-Map-users] IE6 & Transparency with layers<br>> > Date: Tue, 29 Jul 2008 13:35:03 -0400<br>> ><br>> > Hi Manu,<br>> ><br>> > <br>> ><br>> > Please reply to the list – this information could helps others and, <br>> > more importantly, someone else may be able to provide you with the <br>> > answer you’re looking after.<br>> ><br>> > <br>> ><br>> > Transparency for 24 bit PNGs is supported by FF and IE7 so it’s not a <br>> > good indicator of the png24 class at work. Some reasons why this may <br>> > not be working:<br>> ><br>> > <br>> ><br>> > - No width set on the image (required)<br>> ><br>> > - No height set on the image (required)<br>> ><br>> > - No transparent.gif (or equivalent) provided<br>> ><br>> > - The png24 class would appear to be present but isn’t (unlikely)<br>> ><br>> > <br>> ><br>> > Do you have a url that we can see?<br>> ><br>> > <br>> ><br>> > Best regards,<br>> ><br>> > Jason<br>> ><br>> > <br>> ><br>> > <br>> ><br>> > <br>> ><br>> > *From:* manu - [mailto:malbela7@hotmail.com]<br>> > *Sent:* Tuesday, July 29, 2008 12:56 PM<br>> > *To:* Jason Fournier<br>> > *Subject:* RE: [ka-Map-users] IE6 & Transparency with layers<br>> ><br>> > <br>> ><br>> > Hi Jason,<br>> ><br>> > Thank you very much for your response.<br>> ><br>> > The class png24 is defines and i'm using it with no results on IE6 <br>> > (working ok in firefox and ie7). The thing is when i have layers <br>> > divided by group and i want to put one layer with point over another <br>> > one which is a polygon. In this case, even when i have defined the <br>> > point layer with the imageformat set to png24, i have no transparency <br>> > and i get just the point without the polygon layer.<br>> ><br>> > Thank you vey much.<br>> ><br>> > Manu<br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > From: jfournier@dmsolutions.ca<br>> > To: ka-map-users@lists.maptools.org<br>> > Subject: RE: [ka-Map-users] IE6 & Transparency with layers<br>> > Date: Tue, 29 Jul 2008 11:00:34 -0400<br>> ><br>> > Hi Manu,<br>> ><br>> > <br>> ><br>> > If I recall correctly ka-Map comes with a css class called png24 (ie, <br>> > the pngfix you refer to) – put this on your image, specify a width and <br>> > a height (required), and it should work for you. If there is no png24 <br>> > class then add the following to your css:<br>> ><br>> > <br>> ><br>> > img.png24 {<br>> ><br>> > filter:expression(msApplyPNGFilter(this));<br>> ><br>> > }<br>> ><br>> > <br>> ><br>> > And the following to your javascript:<br>> ><br>> > <br>> ><br>> > function msApplyPNGFilter(o) {<br>> ><br>> > var t="./images/transparent.gif";<br>> ><br>> > if( o.src != t ){<br>> ><br>> > var s=o.src; o.src = t; o.runtimeStyle.filter = <br>> > "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='"+s+"',sizingMethod='scale')";<br>> ><br>> > }}<br>> ><br>> > <br>> ><br>> > You will need a single pixel transparent.gif in your images folder for <br>> > the above to work verbatim.<br>> ><br>> > <br>> ><br>> > Hth<br>> ><br>> > Jason<br>> ><br>> > <br>> ><br>> > <br>> ><br>> > <br>> ><br>> > *From:* ka-map-users-bounces@lists.maptools.org <br>> > [mailto:ka-map-users-bounces@lists.maptools.org] *On Behalf Of *manu -<br>> > *Sent:* Tuesday, July 29, 2008 10:37 AM<br>> > *To:* ka-map-users@lists.maptools.org<br>> > *Subject:* [ka-Map-users] IE6 & Transparency with layers<br>> ><br>> > <br>> ><br>> > Hi Everyone,<br>> ><br>> > I've been working for some month with ka-map having great results with <br>> > Mozilla Firefoz and IE 7. But i'm having problems with IE 6 and <br>> > tranparency.<br>> ><br>> > The thing is that i have defined my layers with the imageformat set to <br>> > png24 so the transparency works perfectly with Firefox and IE7. I have <br>> > tried some workarounds with pngfix and css modifications with no result.<br>> ><br>> > I will be so thankful if someone could help me with this issue.<br>> ><br>> > Thank you very much for your time.<br>> ><br>> > Manu<br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > ¡Sé solidario, haz clic! Por cada búsqueda que hagas desde Windows <br>> > Live Search, estarás ayudando a los que más lo necesitan ¡Sé <br>> > solidario, haz clic! <http://www.unclicsolidario.com/><br>> ><br>> > <br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > ¡Lo mejor de MSN y Windows Live en tu móvil! Hotmail, Messenger, <br>> > Spaces… Pruébalo ya y disfruta de todas sus ventajas donde quieras <br>> > ¡Lo mejor de MSN y Windows Live en tu móvil! <br>> > <http://serviciosmoviles.es.msn.com/><br>> ><br>> > <br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > ¡Lo mejor de MSN y Windows Live en tu móvil! Hotmail, Messenger, <br>> > Spaces… Pruébalo ya y disfruta de todas sus ventajas donde quieras <br>> > ¡Lo mejor de MSN y Windows Live en tu móvil! <br>> > <http://serviciosmoviles.es.msn.com/><br>> ><br>> ><br>> > ------------------------------------------------------------------------<br>> > ¡Sé solidario, haz clic! Por cada búsqueda que hagas desde Windows <br>> > Live Search, estarás ayudando a los que más lo necesitan ¡Sé <br>> > solidario, haz clic! <http://www.unclicsolidario.com/><br>> > ------------------------------------------------------------------------<br>> > ¡El Mundo Messenger te espera! Entra ya en "I love Messenger" y <br>> > descubre las últimas novedades, trucos, emoticonos… Entra ya en "I <br>> > love Messenger" <http://www.vivelive.com/ilovemessenger/><br>> > ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > ka-Map-users mailing list<br>> > ka-Map-users@lists.maptools.org<br>> > http://lists.maptools.org/mailman/listinfo/ka-map-users<br>> > <br>> _______________________________________________<br>> ka-Map-users mailing list<br>> ka-Map-users@lists.maptools.org<br>> http://lists.maptools.org/mailman/listinfo/ka-map-users<br><br /><hr />¡Sé solidario, haz clic! Por cada búsqueda que hagas desde Windows Live Search, estarás ayudando a los que más lo necesitan. <a href='http://messengertv.msn.com/mkt/es-es/default.htm' target='_new'>Messenger TV</a></body>
</html>