/ Published in: Other
Expand |
Embed | Plain Text
// found at http://james.padolsey.com/javascript/get-document-height-cross-browser/ function getDocHeight() { var D = document; return Math.max( Math.max(D.body.scrollHeight, D.documentElement.scrollHeight), Math.max(D.body.offsetHeight, D.documentElement.offsetHeight), Math.max(D.body.clientHeight, D.documentElement.clientHeight) ); }
You need to login to post a comment.
