Every line of 'document height' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
37 function getDocHeight() { 38 return Math.max( 39 document.body.scrollHeight || 0, 40 document.documentElement.scrollHeight || 0, 41 document.body.offsetHeight || 0, 42 document.documentElement.offsetHeight || 0, 43 document.body.clientHeight || 0, 44 document.documentElement.clientHeight || 0 45 ); 46 }
9 function getDocHeight() { 10 var D = document; 11 return Math.max( 12 D.body.scrollHeight, D.documentElement.scrollHeight, 13 D.body.offsetHeight, D.documentElement.offsetHeight, 14 D.body.clientHeight, D.documentElement.clientHeight 15 ); 16 }
69 public getTerminalHeight() { 70 return this.terminalSize.height; 71 }
598 function get_DisplayHeight () { 599 // FIXME 600 var canvas = JSIL.Host.getCanvas(); 601 return canvas.height; 602 }