Team:DTU-Denmark/Templates/StartPage

From 2013.igem.org

(Difference between revisions)
Line 28: Line 28:
     <!-- Navigation scroll follow -->
     <!-- Navigation scroll follow -->
     <script type="text/javascript">
     <script type="text/javascript">
-
         $(window).scroll(function () {  
+
         $(window).scroll(function () {
 +
           
 +
            <!-- here is added table of content fixing to screen : was all 35 with Title OutsideWhitebox-->
 +
            var scrollPos = Math.floor($(window).scrollTop());
-
<!-- here is added table of content fixing to screen : was all 35 with Title OutsideWhitebox-->
+
 
-
            var scrollPos = $(window).scrollTop();
+
             var toc_margin_from_top = $(".navigation").height() + 35;
             var toc_margin_from_top = $(".navigation").height() + 35;

Revision as of 21:48, 4 October 2013