From: Arijit D. <ad...@pr...> - 2003-10-25 08:13:35
|
Hi All, I just started learning dynapi 3.0 (from 2.5.7) and I'm trying to get my bearings. I've been reading the documentation (greatly improved since 2.5.7), but there is something I can't figure out: Now that the onload event has been changed and event listeners have been deprecated, how do I time something to when a loadpanel finishes loading? I've tried lp.onLoad(foo); function foo () { //do some stuff; } where lp is the loadpanel. I've tried putting that code in the init function, where init is called by dynapi.onLoad(init), and I've tried putting it outside of the init function. Neither works. Any help is greatly appreciated, as always! Thanks, Arijit |