Screen info
Show the value of screen information in javascript.
window
innerWidth
The interior width of the window (include scroll bar) |
1280 |
innerHeight
The interior height of the window (include scroll bar) |
720 |
outerWidth
The width of the outside of the browser window |
1280 |
outerHeight
The height of the outside of the browser window |
720 |
screenX
The distance of browser window to the left side of the screen |
0 |
screenY
The distance of browser window to the top edge of the screen |
0 |
scrollX
The document is currently scrolled horizontally |
0 |
scrollY
The document is currently scrolled vertically |
0 |
scrollMaxX
The maximum of document can be scrolled horizontally |
|
scrollMaxY
The maximum of document can be scrolled vertically |
screen
width
The width of the screen |
1280 |
height
The height of the screen |
720 |
availWidth
The available width for browser window on the screen |
1280 |
availHeight
The available height for browser window on the screen |
720 |
availLeft
The distance of available spache to the left side of the screen |
0 |
availTop
The distance of available spache to the top edge of the screen |
0 |
colorDepth
The color depth of the screen |
24 |
pixelDepth
The bit depth of the screen |
24 |
documentElement
offsetWidth
The width of the element |
1280 |
offsetHeight
The height of the element |
2662 |
offsetLeft
The distance of the element to the left side of parent element |
0 |
offsetTop
The distance of the element to the top edge of parent element |
0 |
clientWidth
The inner width of the element |
1280 |
clientHeight
The inner height of the element |
720 |
clientTop
The width of the left border of the element |
0 |
clientLeft
The height of the top border of the element |
0 |
scrollWidth
|
1280 |
scrollHeight
|
2662 |
scrollLeft
|
0 |
scrollTop
|
0 |
scrollLeftMax
|
|
scrollTopMax
|
body
offsetWidth
The width of the element |
1264 |
offsetHeight
The height of the element |
2646 |
offsetTop
The distance of the element to the left side of parent element |
0 |
offsetLeft
The distance of the element to the top edge of parent element |
0 |
clientWidth
The inner width of the element |
1264 |
clientHeight
The inner height of the element |
2646 |
clientLeft
The width of the left border of the element |
0 |
clientTop
The height of the top border of the element |
0 |
scrollWidth
|
1264 |
scrollHeight
|
2646 |
scrollLeft
|
0 |
scrollTop
|
0 |
scrollLeftMax
|
|
scrollTopMax
|