[OpenLayers-Users] Transparency in IE

Francisco Domingues fmsd91 at hotmail.com
Sun May 20 19:44:21 EDT 2007


Thanks a lot!
It worked fine...
I found now that my refresh buttom is not working good. It gaves me a error 
debugging.
Its only a buttom that reload the page and not the tiles and the map. There 
is any option to refresh only the map or the layer tiles so I clean the 
problems?
Now the code buttom is like this:

<script language="JavaScript">
var sURL = unescape(window.location.pathname);
function refresh()
{
	window.location.href = sURL;
}
</script>
<script language="JavaScript1.1">
function refresh()
{
    window.location.replace( sURL );
}
</script>

And the buttom is placed inside a <div> like this:

<input type="submit" onclick="location.reload();" value="Refresh Map" />

Thanks in advance,

Francisco Domingues




>From: "Christian López Espínola" <penyaskito at gmail.com>
>To: "Francisco Domingues" <fmsd91 at hotmail.com>
>CC: users at openlayers.org
>Subject: Re: [OpenLayers-Users] Transparency in IE
>Date: Mon, 21 May 2007 01:33:57 +0200
>
>Use format: "image/gif" instead of png.
>Hope this helps.
>
>On 5/21/07, Francisco Domingues <fmsd91 at hotmail.com> wrote:
>>
>>Hello all!
>>I have a wms point layer on my map that has opacity/transparency on 
>>Firefox
>>but in IE it shows no transparency. Here is the variable of the wms point
>>layer:
>>
>>var cities_wms = new OpenLayers.Layer.WMS(
>>"Cities", "http://iceds.ge.ucl.ac.uk/cgi-bin/icedswms?", {layers: 
>>"cities",
>>transparent: 'true', format: "image/png"}, {visibility:false},options);
>>
>>Should I include something more for transparency on IE?
>>Thanks in advance,
>>
>>Francisco Domingues
>>
>>_________________________________________________________________
>>MSN Hotmail, o maior webmail do Brasil. http://www.hotmail.com
>>
>>_______________________________________________
>>Users mailing list
>>Users at openlayers.org
>>http://openlayers.org/mailman/listinfo/users
>>
>
>
>--
>Regards,
>
>Christian López Espínola

_________________________________________________________________
MSN Busca: fácil, rápido, direto ao ponto.  http://search.msn.com.br




More information about the Users mailing list