On Oct 16, 2:17 pm, Andy R <[EMAIL PROTECTED]> wrote:
> Use window.onload() in your Javascript. Be careful if you have
> multiple onload functions, explanation and examples 
> here:http://www.webreference.com/programming/javascript/onloads/

Or did you mean you don't want an onload function at all? If that's
the case, put the script which makes the map *just* above </body>, and
don't use a function. Without a function the script will simply run
top to bottom. Make sure that every element above the script --
including any <p> elements -- is correctly closed.

.....
<script>
var map = new GMap2(...);
...
</script>
</body>

Andrew
--~--~---------~--~----~------------~-------~--~----~
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