Team:DTU-Denmark/Templates/StartPage

From 2013.igem.org

(Difference between revisions)
Line 36: Line 36:
             }
             }
<!-- here is added table of content fixing to screen -->
<!-- here is added table of content fixing to screen -->
-
             if (scrollPos > 310) {
+
             if ((scrollPos > 310) && (scrollPos < $(document).height() - $(".navigation")[0].height() - 70)) {
                 $(".toc").addClass("stickBelowNavigation");
                 $(".toc").addClass("stickBelowNavigation");
             } else {
             } else {

Revision as of 13:45, 22 July 2013

{{{1}}}