[pmwiki-devel] Looking for comments on possible standard for dynamic skins
blues
blues4u at supereva.it
Tue May 20 05:05:36 CDT 2008
On Wed, 14 May 2008 06:43:24 +0300, Henrik Bechmann <henrik at bechmann.ca>
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
More information about the pmwiki-devel
mailing list