How is your code hiding the map tab when another tab is selected?

If it's being hidden by having 'visibility' attribute set to 'hidden'
then you might want to instead try setting it's 'display' attribute to
'none'.

An element with visibility set to hidden will still take up the space
on the page that it takes up when it's visibility is set to visible.
BUT an element with display style set to none will in effect be zero
pixels square.

If the map container is hidden by setting it's display style to none
then you might fix your original problem.

Martin.


On 2 Oct, 02:58, Martyn50 <[email protected]> wrote:
> Hello, I am working on a site whose centerpiece on opening is a map of
> Cairo and its historic buildings. However I also have information
> layers (divs) that come forward over the map, but although another
> layer is visible, the mouse actions still register as if the Google
> Map is present.. so I can't use links or scroll bars because the
> system thinks the map is still present. How can I "shut off" the
> Google controls but without forcing the map to reload when I return to
> it.
>
> link to work on site:
>
> http://www.maqrizi.com
>
> map opens at start, but when one clicks on tabs the map is covered.
> But map controls still operating.
>
> thanks for any help!
> Martyn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to