[OpenLayers-Users] Loading a map into a hidden div in Safari
JuKiM
rifins at gmail.com
Fri Jul 2 12:07:59 EDT 2010
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/20100702/12700d1c/attachment.html
More information about the Users
mailing list