Posts: 3,621
Name: Thierry
Location: I'm the uber Spaminator !
|
On an side not more: The page load event fires even if the images loaded via CSS are not finished.
Explanations:
I run a service oriented web site, http://web-screenshot that take real time screenshots of web pages.
For starting the screenshot procedure, I have developed a python program that wait for a "page loaded" event to start the screenshot capture.
What I have discovered though, via sites like myspace, is that the Gecko engine (the foundation of mozilla, firefox, thunderbird and the like) send an "page loaded" event even when an image is still loading from the CSS page.
They probably have separated them.
Add this to the fact that a browser open a limited number of concurrent conenctions to the same site, to not overload it (default for firefox is 4 connections per domains), it means that if you have a paeg that is graphic intensive, with load of external js and css files, you can have a page laoded event even when not every composant are loaded.
It depend of your page optimisations and structure.
__________________
Only a biker knows why a dog sticks his head out the window.
|