| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
|Become a Pro Member|
|Getting windows height|
Getting windows height
I did it with
document.body.offsetHeight But the result includes the toobars part size/height.
How can get height of the windows, getting ride of the toolbar size?
Example: when i use
document.body.offsetHeight, he tells me the windows heights about 1000. but in fact it does not height if toolbars are displayed.
i want to know the height of the free to right part of the windows.
Have you tried screen.availHeight - it will not include any toolbars and has universal browser support.
it does not work, and i'am giving up on that issue
thank you for your respons
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved