Re: Late window.onload, defer, DOMContentLoaded and multiple source files
- From: Jasen Betts <jasen@xxxxxxxxxxxxxxxxxx>
- Date: Fri, 30 Dec 2005 03:54:52 -0000
On 2005-12-29, John J. Lee <jjl@xxxxxxxxx> wrote:
> If I do understand that right, I wonder about another approach.
> Somebody else on that page suggested a timer combined with a "dummy"
> element at the bottom of each page. You use a timer to poll, and when
> the dummy element turns up in the DOM, that's when you do your
> initialisation. Does anybody here have links to discussion /
> implementation(s) of that idea?
??? what's the problem again? defer causes scripts to load or execute late
onload should be sufficient for the loading of the document.
you could use callbacks to detect the loading of statically loaded scripts
I expect they also support onload, dynamically loaded scripts seem to
support onload.
Bye.
Jasen
.
- References:
- Late window.onload, defer, DOMContentLoaded and multiple source files
- From: John J. Lee
- Late window.onload, defer, DOMContentLoaded and multiple source files
- Prev by Date: Re: WINDOW.EVENT
- Next by Date: Re: Simple script won't work - why?
- Previous by thread: Late window.onload, defer, DOMContentLoaded and multiple source files
- Next by thread: Simple script won't work - why?
- Index(es):