I know we get the screen size using screen.height and screen.width. I am interested in knowing how to find the usable screen area using Javascript. This is like screen height minus address bar height minus toolbar etc.
2 Answers
For most browser you can read window.innerWidth and window.innerHeight, for Internet Explorer its document.documentElement.clientWidth and document.documentElement.clientHeight, I think...
2 Comments
Karl-Bjørnar Øie
ah, I'm just paranoid because of traumatic experiences with IE6 :-D
gen_Eric
@ZeroPage: It's ok, IE6 is dead, and is never coming back.