Line 545: | Line 545: | ||
<script> | <script> | ||
function checkScroll(){ | function checkScroll(){ | ||
− | var startY = window.innerHeight + | + | var startY = window.innerHeight + 20; //The point where the navbar changes in px |
if($(window).scrollTop() > startY){ | if($(window).scrollTop() > startY){ |
Revision as of 15:34, 24 August 2016