Team:DTU-Denmark/Templates/StartPage

From 2013.igem.org

(Difference between revisions)
 
Line 32: Line 32:
              
              
             <!-- here is added table of content fixing to screen : was all 35 with Title OutsideWhitebox-->
             <!-- here is added table of content fixing to screen : was all 35 with Title OutsideWhitebox-->
-
             var scrollPos = $(window).scrollTop();
+
             var scrollPos = Math.floor($(window).scrollTop());
             if(Math.abs(prevScrollPos - scrollPos) <= 1){
             if(Math.abs(prevScrollPos - scrollPos) <= 1){

Latest revision as of 21:54, 4 October 2013