[quote=satisfied008]what is onload???

[/quote]
The onload event occurs immediately after a page or an image is loaded
Supported by the following HTML tags:
<body>, <frame>, <frameset>, <iframe>, <img>, <link>, <script>
Supported by the following JavaScript objects:
image, layer, window
[b]BUT[/b]
since friendster included Mootools framework in their web page, we can use DOMReady event handler as the replacer for onload event handler..
DOMReady event handler will fire up after DOM tree is ready without waiting for images to load..
As a result, the code inside external JS will load faster..
This mainly can be use to decrease the load time for addbox..
Last edited by blacklizard_return (2008-10-25 12:13:01)