There is a onload attribute that you can use in the gm:page tag. Load the
external script using a standard script tag and then call the onload
function using the onload attribute.
<gm:page title="myApp" onload="onload()">
<script src="http://www.externalscript.com/js/script.js"/>
<script>
function onload() {
...do something here...
}
</script>
</gm:page>
On 6/29/07, Stephan <step...@gmail.com> wrote:
How can I include external Javascript code in the <head> section of my
webapp? Some libraries such as Timeline from http://simile.mit.edu
require this (AFAICT). And maybe it's cleaner, anyway.