Hello everybody,
in browsers which doesn't support Google Maps, most notably lackness
is Opera.
I tried a JavaScript code (embedded in body, since I'm using a CMS)
such as this:
if (google.maps.BrowserIsCompatible()) {
// do something
} else if(document.getElementById && document.createElement) {
imageMap = document.createElement("img");
imageMap.setAttribute("src","map_from_google.gif");
imageMap.setAttribute("alt","my map");
document.getElementById("map").appendChild(imageMap);
}
but, oh!, "map" div is altered in no way; nothing is displayed.
As someone know, Opera doesn't support innerHTML either; but, quite
strange, even if in "Google Maps is not supported" branch I write a
true simple document.write("foo") or alert("foo"), Opera displays
nothing.
Does anyone afforded Opera & CMS problem?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---