m |
m |
||
Line 83: | Line 83: | ||
function scrollFunction(){ | function scrollFunction(){ | ||
var navigationBar = document.getElementById("navigation-bar"); | var navigationBar = document.getElementById("navigation-bar"); | ||
− | var coverHeight = document.getElementById("cover"). | + | var coverHeight = document.getElementById("cover").height; |
if (document.body.scrollTop > coverHeight || document.documentElement.scrollTop > coverHeight ) { | if (document.body.scrollTop > coverHeight || document.documentElement.scrollTop > coverHeight ) { |
Revision as of 14:10, 3 October 2016
Eagles