Skip to content

24 ways to impress your friends

Vote down?

kentaromiura

in alternative you can use a function like this one:
http://webreflection.blogspot.com/2006/11/my-domcontentloaded-final-solution.html
or this one:
http://dean.edwards.name/weblog/2006/06/again/

to change the dom before the onload but after the dom is totally loaded and parsed.

your solution works well for little change,
but for more than a simple hide and seek using a “behaviour function” is preferible
for a “behaviour function” I mean a function where you have all the changes(hide and seek) and the hijack (onclick..) to the dom.
Cheers