It throws an onResize event.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Sunday, May 13, 2001 2:56 PM
To: [EMAIL PROTECTED]
Subject: RE: [Dynapi-Help] width of browser window
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
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.252 / Virus Database: 125 - Release Date: 5/9/2001
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.252 / Virus Database: 125 - Release Date: 5/9/2001
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help