Window.scrollbars
Summary
Returns the scrollbars object, whose visibility can be checked.
Syntax
JavaScript
Copy Code
objRef = window.scrollbars
Example
The following complete HTML example shows how the visible property of the scrollbars object is used.
JavaScript
Copy Code
<html> <head> <title>Various DOM Tests</title> <script> var visibleScrollbars = window.scrollbars.visible; </script> </head> <body> <p>Various DOM Tests</p> </body> </html>
See also:
,
,
,
,
Specification
HTML5
License
© 2016 Mozilla Contributors
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-us/docs/web/api/window/scrollbars