hi, i read in the 2.55 release notes that hookLoad/hookUnload 
were removed because they didn't work. the problem (i think i've
posted this before actually) was that it before were using
eval(hookLoad)
to execute the "old" onload-code. this isn't right, we only have to call
it like a function, something like this:

onload=function() {
        alert(1);
}

var hookLoad = onload;

onload=function() {
        alert(2);
        if (hookLoad) hookLoad();
}

i think the onload-hooking is good to have in the API so lets 
put in this again.

/martin


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

Reply via email to