[thelist] window.innerWidth

Bob Davis bobd at members.evolt.org
Fri Nov 17 14:04:32 CST 2000


on 11/17/00 1:57 PM, Jay Turley at jay at weberrific.org wrote:

> In NS, you can use window.innerWidth to retrieve the width of the browser.
> What is the corresponding, if any, method to use in IE?

I've used this:

if (navigator.appName == "Netscape") {
    available = window.innerWidth;
    }
else {
    available=document.body.clientWidth;
    } 

Bob

-- 

bob davis
bobd at members.evolt.org





More information about the thelist mailing list