From c62eb5b49cdb08868a598caea99f8a7047e64a9f Mon Sep 17 00:00:00 2001 From: Chuck Dries Date: Mon, 20 Mar 2017 04:54:51 -0700 Subject: [PATCH] Don't fade page in on scroll --- index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.html b/index.html index deda42a..e03df01 100644 --- a/index.html +++ b/index.html @@ -20,7 +20,7 @@ @@ -320,8 +320,8 @@ var p = ((wheight - ypos) / wheight); //calulate ratio of scroll // x.innerHTML = " " + String(parseInt(p * 100)); //display it var rgb = Math.floor(Math.abs(1 - p) * 255); //set the color - var colorString = "rgb(" + rgb + "," + rgb + "," + rgb + ")"; - document.body.style.backgroundColor = colorString; + // var colorString = "rgb(" + rgb + "," + rgb + "," + rgb + ")"; + // document.body.style.backgroundColor = colorString; }