Team:DTU-Denmark/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
Line 37: | Line 37: | ||
<!-- here is added table of content fixing to screen --> | <!-- here is added table of content fixing to screen --> | ||
if (scrollPos > 310) { | if (scrollPos > 310) { | ||
- | $(".toc").addClass(" | + | $(".toc").addClass("stickToTop"); |
} else { | } else { | ||
- | $(".toc").removeClass(" | + | $(".toc").removeClass("stickToTop"); |
} | } | ||
}); | }); |
Revision as of 08:35, 19 July 2013