jquery change background color user scroll
Updated, more generic version: var tStart = 100 // Start transition 100px from top , tEnd = 500 // End at 500px , cStart = [250, 195, 56] // Gold , cEnd = [179, 217, 112] // Lime , cDiff = [cEnd[0] – cStart[0], cEnd[1] – cStart[1], cEnd[2] – cStart[2]]; $(document).ready(function(){ $(document).scroll(function() { var p … Read more