Pages: 12

  2008-10-25 12:07:47

blacklizard_return
» FTalker
FTalk Level: zero
156
0
1969-12-31

[b]Credits[/b] : Angell de Ville and Crazydavinci :arrow: Recommended for those who use Load & Unload Trick [b]1.[/b] Put this script outside your onload handler : [spoiler]function showhide(x){ mod

[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)

Pages: 12

Board footer

© 2025 F Talk

Current time is 17:30

[ 12 queries - 0.008 second ]
Privacy Policy