[OpenLayers-Users] Loading a map into a hidden div in Safari

JuKiM rifins at gmail.com
Mon Jul 5 06:57:57 EDT 2010


I've seen in "http://trac.openlayers.org/ticket/2187" that this can be a
bug?

Thanks!

2010/7/2 JuKiM <rifins at gmail.com>

> Hi,
>
> I have a page where a user can select some diferent items, and when an item
> is selected, a div with a map is displayed showing where the item is..
> The div that contains the map is:
>
> <div id='pop' style="display:none">
>         <div id="map" ></div>
>     </div>
>
> and the map css is:
>
> #map
> {
>     height:100%;
>     width:100%;
>     position:absolute;
>     top:0px;
>     bottom:0px;
>     left:0px;
>     right:0px;
>     cursor:pointer;
> }
>
> If I show the div with jQuery like this:
> <input id="Button2" type="button" value="pop!!"
> onclick="$('#pop').show(250);"/>
>
> In FireFox, IE and Chrome everuthing goes ok.. But if I try to do with
> Safari, the map is not shown..
>
> Is there any problem with this?
>
> Thanks!
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20100705/cce9aac9/attachment.html


More information about the Users mailing list