MCPcopy Create free account
hub / github.com/codemistic/Web-Development / getDocHeight

Function getDocHeight

Percentage Scrolled/script.js:6–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4
5// This function will return the maximum of the following
6function getDocHeight() {
7 var D = document;
8 return Math.max(
9 D.body.scrollHeight, D.body.offsetHeight, D.body.clientHeight
10 );
11}
12
13
14

Callers 1

script.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected