[thelist] width, height, innerWidth,innerHeight

Peter-Paul Koch gassinaumasis at hotmail.com
Thu May 10 03:13:23 CDT 2001

>Am I insane here, or am I correct in thinking that some 4.0+ browsers apply 
>the width and height in window.open() to the outside of the new window?

Yes, what else should they apply it to? (Well, maybe the inner width and 
height, but as long as all browsers do the same (and they do) it's OK with 

>Also, was I dreaming or last night did I read (but not bookmark)
>something about innerWidth and innerHeight as part of the
>window.open() features?

Just tried it, Netscape 4 uses innerWidth/Height as if they were 
width/height, IE5.5 ignores them, (can't test in NN6 due to some 
peculiarities). So I don't recommend using them.

>What are navigator.availTop and navigator.availLeft good for?
>Anything? Isn't that just screen.height - screen.availHeight?

http://www.xs4all.nl/~ppk/js/index.html?winprop.html gives a list with 
compatibility info.


Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

More information about the thelist mailing list