how to get the scroll height and width in javascript?
we get the scroll Width in javascript
Width : window.pageXOffset ||
document.body.scrollLeft ||
document.documentElement.scrollLeft; we get the scroll Height in javascript
Height: window.pageYOffset ||
document.body.scrollTop ||
document.documentElement.scrollTop;
Post:562
Points:2810how to get the scroll height and width in javascript?
we get the scroll Width in javascript
Width : window.pageXOffset ||
document.body.scrollLeft ||
document.documentElement.scrollLeft;
we get the scroll Height in javascript
Height: window.pageYOffset ||
document.body.scrollTop ||
document.documentElement.scrollTop;