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.onload http://javascript.about.com/library/blonload.htm window.onunload But beware of previously existing values. -- Larry --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
