Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

What's the width of the Window?

0 views
Skip to first unread message

Brian Lang

unread,
May 29, 1997, 3:00:00 AM5/29/97
to

Is there any way to find the width of the active window? I'm trying to
write a script to create a new window, depending on the size of the
user's normal window size. Example: A user with a 640x480 screen would
have a normal sized window approximately 620 x 460 (or so, depending on
if the menubar is active, and if the toolbar, location and so on are
visible). A different uer with a 800x600 screen would obviously have
different dimensions. I want to be able to fit my window to what the
user already has open.

Also, is there anyway to tell Netscape to open a new window, at the
maximum size to fill the screen?

Steven Oney

unread,
May 30, 1997, 3:00:00 AM5/30/97
to bhl...@geocities.com

Brian Lang wrote:

try the following:
screen.width
screen.height
screen.PixelDepth
screen.colorDepth
window.innerHeight
window.innerWidth
window.outerHeight
window.outerWidth


Vishnu

unread,
Jun 12, 1997, 3:00:00 AM6/12/97
to

On Fri, 30 May 1997, Steven Oney <so...@1y.com> wrote:

> try the following:
>screen.width
>screen.height
>screen.PixelDepth
>screen.colorDepth

Is pixeldepth and colordepth resolution and system colors?
_______________
,\\ichael Funk

0 new messages