W3C home > Mailing lists > Public > www-dom@w3.org > July to September 2005

DOM-tree load event?

From: Emrah BASKAYA <emrahbaskaya@hesido.com>
Date: Fri, 08 Jul 2005 04:36:20 +0300
To: www-dom@w3.org
Message-ID: <op.stkmquj98nstxa@lomarnona>

Hi, I quickly ran thru the Dom Level 3 events list, but failed to see an  
event which fires up when the DOM tree is fully loaded (without, say,  
images having to be loaded.)

There are so many times a script could do a lot without having to wait for  
images to load, and sometimes the images may take so much time to load  
that the script can never kick in during the attention span of the user.  
Is there currently a sturdy event that fires up when the the root tag of a  
document is closed, without having to wait for certain elements to load,  
like <img> in this very example?

It all makes sense to me to have such a feature because deciding that a  
resource on the internet cannot be loaded is very subjective, and varies  
much between the UA's or maybe the tcp-ip implementation, and the status  
of the network connection. So until the UA gives up on an image deciding  
it cannot be loaded, it just might be too late for the script to kick in,  
who could do still much with all DOM-tree is in place, without the images  
having to be loaded.

Is this adressed somehow? I have not thoroughly checked the specs, I have  
to admit.

Received on Friday, 8 July 2005 01:36:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 20 October 2015 10:46:12 UTC