for the "setOnloadCallback(init)", I just follow what "http://
code.google.com/apis/ajax/documentation/#GettingStarted" is talking
about. I also tried window.onload before, but with no luck.

One thing I forgot to mention is, the error since blaming the
GBrowserIsCompatible() with object expected. That means the script is
not loaded yet
Also, I tried removing GBrowserIsCompatible(), but it blame other
object that came from Google Maps API with the same error.

What detail IE6 version you use?
I am using 6.0.2900.2180. And all my partners got this javascript
error with there workstation.

And, what doctype should I use?

On May 26, 4:30 pm, Rossko <[email protected]> wrote:
> > Just fixed the div tag, but it does not work.
>
> http://singxwong.110mb.com/index.htm
> works for me in IE6 with refreshing.
>
> You don't have the recommended doctype.
>
> Be kind to your visitors, and use the recommended GUnload function on
> page unload.
>
> However, I'm suspicious of your use of
>    google.setOnLoadCallback(init);
> to trigger the map building.  Doesn't that get triggered when the maps
> script is available?  That could be before the DOM is complete and the
> map <div> is available, if the script is already in cache.
>
> I think I'd trigger using window.onload instead.
>
> cheers, Ross K
--~--~---------~--~----~------------~-------~--~----~
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