Line 140: | Line 140: | ||
<script> | <script> | ||
var distance = $('.navbar').offset().top, | var distance = $('.navbar').offset().top, | ||
− | |||
$window = $(window); | $window = $(window); | ||
+ | console.log(distance); | ||
$window.scroll(function() { | $window.scroll(function() { |
Revision as of 09:33, 13 October 2016