What is the best way to get the actual page (not window) height in JS that is cross-browser compatible?
I\'ve seen a few ways but they all return different values...
var width = window.innerWidth || html.clientWidth || body.clientWidth || screen.availWidth; var height = window.innerHeight || html.clientHeight || body.clientHeight || screen.availHeight;
Should be a nice & clean way to accomplish it.