[SOLVED] Different BODY ONLOAD tags on different pages
Posted: Sat Oct 04, 2008 9:24 am
Hello all,
I'm trying to show a Google Map on one of my pages, like in this example http://code.google.com/apis/maps/documentation/examples/map-simple.html.
So far I've: - to my "location" page but none of the other pages (as they don't have the javascript function on them). So far I have two templates, one with the plain BODY and one with the extra function call but I'd prefer to use just one template if possible.
Has anybody got any ideas?
Thanks...
I'm trying to show a Google Map on one of my pages, like in this example http://code.google.com/apis/maps/documentation/examples/map-simple.html.
So far I've: -
- Put the javascript into the META section of my "location" page, wrapped in {literal}s. - works OK.
- Created a Global Content Block that contains the "map_canvas" DIV. - works OK.
Code: Select all
</__body onload="initialize()" onunload="GUnload()">
Has anybody got any ideas?
Thanks...