[Seaside] Quick question
Francois Beausoleil
francois.beausoleil at gmail.com
Thu Oct 20 18:18:56 UTC 2005
Hi !
2005/10/20, William E Harford <seaside at harford.org>:
> oldOnload = document.body.onload;
> function newOnload(){
> oldOnload();
> whatEver();
> }
> document.body.onload = newOnload;
>
> ...
>
> Again I have not tried this so it may or may not work.
That works quite well. In fact, the Behaviour[1] library does it just
very much like that. See Behaviour.addLoadEvent().
Bye,
François
[1] http://bennolan.com/behaviour/
More information about the Seaside
mailing list