Team:DTU-Denmark/Templates/Standard page begin
From 2011.igem.org
(Difference between revisions)
Line 22: | Line 22: | ||
$(".navigation").removeClass("stickToTop"); | $(".navigation").removeClass("stickToTop"); | ||
} | } | ||
- | if (scrollPos > | + | if (scrollPos > 180) { |
$(".toc").addClass("stickBelowNavigation"); | $(".toc").addClass("stickBelowNavigation"); | ||
} else { | } else { | ||
Line 74: | Line 74: | ||
$("p").filter( function() { | $("p").filter( function() { | ||
return $.trim($(this).html()) == ''; | return $.trim($(this).html()) == ''; | ||
- | } | + | }) |
}); | }); | ||
</script> | </script> |
Revision as of 01:10, 19 September 2011