On Apr 24, 7:09 am, "[email protected]" <[email protected]> wrote:
> When i start page, IE alert error at line 2 char 1.
> when I puh F5 or refresh button brouser say error at line 5 char
> 15046.

>From a quick look, this might be the problem:

The script in the head section of this page takes some actions using
the 'map' variable, including looking up its container:
        m = map.getContainer();

But it appears that when this script executes, the map may not yet
have been created.

The map is created in the load() function, which is called in the
page's body load event:
      onload="window.setTimeout('load()', 200);"

When a browser first loads this page, the order of execution makes
errors likely, especially with the 200 millisecond delay before load()
is called, after the the body has loaded.

Perhaps the actions in the head script could be wrapped in a function
that is called after the map is created. Or use a different approach
to sizing the elements of the page.
--~--~---------~--~----~------------~-------~--~----~
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