Team:DTU-Denmark/Templates/StartPage
From 2013.igem.org
(Difference between revisions)
Line 35: | Line 35: | ||
$(".navigation").removeClass("stickToTop"); | $(".navigation").removeClass("stickToTop"); | ||
} | } | ||
- | if (scrollPos > 180) { | + | <!-- |
+ | if (scrollPos > 180) { --> | ||
$(".toc").addClass("stickBelowNavigation"); | $(".toc").addClass("stickBelowNavigation"); | ||
} else { | } else { | ||
$(".toc").removeClass("stickBelowNavigation"); | $(".toc").removeClass("stickBelowNavigation"); | ||
} | } | ||
+ | --> | ||
}); | }); | ||
</script> | </script> |
Revision as of 08:31, 12 July 2013