Difference between revisions of "Team:Uppsala/test5"

Line 368: Line 368:
 
$(window).scroll(function(){
 
$(window).scroll(function(){
 
     var myFixedPositionInit = 650;
 
     var myFixedPositionInit = 650;
     $("#toc").css("top",Math.max(0, 630 - $(this).scrollTop()));
+
     $("#toc").css("top",Math.max(20, 630 - $(this).scrollTop()));
  
 
});
 
});

Revision as of 21:51, 15 October 2018




Uppsala iGEM 2018