the best way of doing this is as follows:

    function createFunction(url) {
        if (url) return new LoanPanel(url);
        else return new DynLayer();
    };

Jeff Greenberg wrote:

> Does the conditional function declarations of JS 1.5 solve that? I know this only
> applies to NS6, but I am curious and don't have a copy of NS6 at hand right now to
> try... anybody else?
>
> Jeff Greenberg
> [EMAIL PROTECTED]
>
> Michael Pemberton wrote:
>
> > it has been discussed a few days ago.  JS doesn't allow alternative inheretance.
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help

--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010




_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to