Michael, thanks for the tip...works as anticipated....

Another open question to anyone, if the user resizes the browser window..
can I get notification of the event ??

Sid

-----Original Message-----
From: Michael Pemberton [mailto:[EMAIL PROTECTED]]
Sent: Friday, May 11, 2001 4:43 PM
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Help] width of browser window


just use the getWidth() method of the dyndocument that you have added the
layer to.

[EMAIL PROTECTED] wrote:

> Hi all,
>
> Newbie question:  If I want to create a layer called "menubar" that is the
> width of the frame that it is currently in. Since i do not know the width
> before hand because the user can resize it, what do I pass to:
>
>         menubar = new DynLayer();
>         menubar.setSize(????,25)
>
> Any help appreciated.
>
> Sid Young

Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010




_______________________________________________
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