Perhaps:

document.getElementsByTagName('body')[0].onload = function(){}
document.getElementsByTagName('body')[0].onunload = function(){}

2009/1/17 Tintin81 <[email protected]>

>
> Hi there,
>
> I'm a GoogleMaps newbie and know nothing about Javascript or AJAX. Now
> here's my (fairly simple) question:
>
> How can I include a simple GoogleMap on my website without using this
> statement in my HTML:
>
> <body onload="load()" onunload="GUnload()">
>
> My content management system can't handle it and I would like to put
> it into an external .js file. How can I do that?
>
> I've been searching the API for hours, but without any success. Thanks
> for any feedback.
>
> >
>


-- 
Bjorn Brala
----------------
GeoStart.nl- Google maps - Swis Webdesign

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