From e35bdd813b1062573de25b940444813e915afaa9 Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Tue, 14 Feb 2017 04:03:25 -0700 Subject: [PATCH] Log even more --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 10f8215..7b95c9a 100644 --- a/index.html +++ b/index.html @@ -20,6 +20,7 @@ var mast; function bgColor() { + console.log("innerHeight = " + window.innerHeight + ", window.scrollY = " + window.scrollY); var p = ((window.innerHeight - window.scrollY) / window.innerHeight); //calulate ratio of scroll console.log(p); x.innerHTML = " " + String(parseInt(p * 100)); //display it