Difference between revisions of "Template:Team:TU Darmstadt/MainMenu"

Line 144: Line 144:
  
 
<script>
 
<script>
var distance = $('#slick-menu').height(),
+
var distance = $('.title img').outerHeight(),
 
     $window = $(window);
 
     $window = $(window);
console.log(distance);
+
console.log($(.title));
  
 
$window.scroll(function() {
 
$window.scroll(function() {

Revision as of 09:42, 13 October 2016