On Wed, 14 May 2008 06:43:24 +0300, Henrik Bechmann <[EMAIL PROTECTED]>  
wrote:
> For
> dynamic layout websites (ie which use some javascript), there is often a
> need for more than one script to run some kind of initialization routine
> on load. It can be cumbersome to edit the onload/onunload attributes of 
> the body element for each initialization

i usually write self-contained javascript files (.js), each of which  
attaches to the DOM its own load method, without directly modifying the  
source HTML code.
(using window.addEventListener and/or window.attachEvent)

blues


_______________________________________________
pmwiki-devel mailing list
pmwiki-devel@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-devel

Reply via email to