use same size <div ...>s and alternate "display: none" and "display:
block" on the two! e.g.
showInfo() {
document.getElementById("mymap").style.display = "none";
document.getElementById("myinfo").style.display = "block";
}
showMap() {
document.getElementById("myinfo").style.display = "none";
document.getElementById("mymap").style.display = "block";
}
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---