Author Topic

Sven Ryen

Monday 23 June 2003 11:55:50 pm

Comment52007

FWIW, scripts tag can be included anywhere on the page, not just within head tags. I include the javascript src tag at the top of the edit.tpl files of my datatypes.

For onload, how about this snippet:

<script type="text/javascript" language="Javascript">
<!--
document.body.onload = function() { alert('hello world'); }
//-->
</script>