Hi all,

I was able to work around by problem by using the onresize event.

I do have a new question, which I think may be more important than the last: the onContentChange expample uses an event listener. I thought event listeners were supposed to be deprecated? Is there another way I should be performing the same function?

Thanks,
Arijit

Arijit Das wrote:
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




------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help



--
protein.media.inc

tel: 202.462.4700
cel: 202.441.0764
fax: 202.318.1176
eml: [EMAIL PROTECTED]
web: http://www.proteinmedia.com




------------------------------------------------------- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to