Try this search
http://groups.google.com/group/Google-Maps-API/search?group=Google-Maps-API&q=window+onload+cms&qt_g=Search+this+group

Ralph

On Feb 19, 10:06 pm, newuser <[email protected]> wrote:
> Thanks
>
> At the moment I have the initialize function at the bottom of the
> page.
>
> And the div halfway in the html.
>
> <div id="map_canvas" style="width: 500px; height: 300px"></div>
>
> How do I declare the onload="initialize()" onunload="GUnload()"
> outside the body tag.
>
> Where should the function initialize() be moved to?
>
> Thank you
>
> On Feb 19, 7:33 pm, "[email protected]" <[email protected]>
> wrote:
>
>
>
> > On Feb 19, 11:23 am, newuser <[email protected]> wrote:
>
> > > Hello
>
> > > I wondered if anyone could advise?
>
> > > I am using Dreamweaver templates to construct the html layout of the
> > > website. I would like to add a google map to one of the pages.
>
> > > The <body> tag is part of the template, so I cannot add the onload
> > > function to this tag.
>
> > > Is there anywhere else I can place the onload="initialize()"
> > > onunload="GUnload()" code other than on the <body>
>
> > Yes.
>
> > anywhere on the page these work:
> > window.onloadhttp://javascript.about.com/library/blonload.htm
> > window.onunload
>
> > But beware of previously existing values.
>
> >   -- Larry- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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