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.
For most browser you can read window.innerWidth
and window.innerHeight
, for Internet Explorer its document.documentElement.clientWidth
and document.documentElement.clientHeight
, I think...
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With