[Javascript] Outer window dimensions for IE

Andrew Gibson andyg at ihug.co.nz
Fri Jan 11 02:53:28 CST 2002


Subject: Re: [Javascript] Outer window dimensions for IE


> >From: "Victor Papp" <victorpapp at yahoo.com>
>
> >Is there a way to determine the outer dimensions of the current window in
> >IE?
>
> You mean the dimensions with toolbars etc., right? I don't think there's a
> way to determine it, like Netscape's outerWidth. Maybe window.clientWidth
> would work, but this is a guess.
>
> See http://www.xs4all.nl/~ppk/js/index.html?winprop.html for the
properties
> that do work (but it doesn't give the property you want). Maybe it gives
you
> some inspiration.

document.body.clientWidth   ?





More information about the Javascript mailing list