Thanks Dave,

That code did fix the problem.  But, don't you think it is a bug in the Dyn
Api library that you need to do this?  Or do the semantics of the create
event dictate this behavior? (which varies between IE/NS)

Thanks for doing the testing under NS 6.  How is NS6's support for CSS? I'm
thinking of using a class attribute to generate borders for the raised and
inset look.  This would reduce the number of layers by an order of magnitude
(with borders there are 7 layers for each menu item.  I've taken pains in
the code that if you do not specify any borders, only one layer is created
per menu item.

Regards,

Ken


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of David
> Cushman
> Sent: Sunday, February 25, 2001 5:23 PM
> To: [EMAIL PROTECTED]
> Subject: Re: RE: [Dynapi-Help] DropDown menus ? (NS resize)
>
>
> Hey Ken,
>   Add the following code to the end of your first
> oncreate to set it to null after it executes the first
> time, allowing the recreateall (built in to dynapi) to
> properly execute on a ns4 resize.
>
> excerpt from your widget starting line 138
>
>               o.formatted = true
>               o.setVisible(true);
>          // add this
>        l.oncreate=function(e) {
>        }
>          //end add
>       }
>       l.ondragstart=function(e) {
>
> Alternately, if you are using a seperate oncreate
> (should look in to onprecreate),
> just remove the event listener at the end of the code.
>
> Tested your widget with this code under 2-23 snapshot
> win98 PC ns4.76, ns4.08 ie5.5 and ns6 (runs slow like
> mine under ns6, we need to solve this)
>
> Cheers,
> Dave C.  "You Changed What?!?"
>
> __________________________________________________
> Do You Yahoo!?
> Get email at your own domain with Yahoo! Mail.
> http://personal.mail.yahoo.com/
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
>


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

Reply via email to