Difference between revisions of "Team:Uppsala/test5"

Line 428: Line 428:
 
// also makes sure that the fixed navigation becomes fixed when at a certain height
 
// also makes sure that the fixed navigation becomes fixed when at a certain height
 
$(window).scroll(function(){
 
$(window).scroll(function(){
     var myFixedPositionInit = 630;
+
     var myFixedPositionInit = 500;
 
     $("#toc").css("top",Math.max(50, 630 - $(this).scrollTop()));
 
     $("#toc").css("top",Math.max(50, 630 - $(this).scrollTop()));
  

Revision as of 01:21, 16 October 2018




Uppsala iGEM 2018