I'm working with google maps.

Normally, you kick off the Gmap code with an onload call in the <body>
tag. For example: <body onload="init;">

When using MooTools, this doesn't work, you have to place:

    // Get the ball rolling...
    window.onload = init;

inside the 'domready' wrapper. Otherwise, init does not get executed.

The problem lies with (for some strange reason) with IE. Sometimes the
map code will not *complete* the map load if the map starts loading
before the page itself has finished loading.

Is there a way to detect when the page has finished loading so I can
at that point kick off the map loading function within the 'domready'
wrapper?

This issue is exclusively with IE. Googleing "google map not loading
in ie" brings up a bit of discussion but noting that addresses Gmaps
and MooTools.

Reply via email to