Team:DTU-Denmark/kristian test header
From 2014.igem.org
(Difference between revisions)
Line 35: | Line 35: | ||
}); | }); | ||
- | $(window.scroll(function() { | + | $(window).scroll(function() { |
if ($(this).scrollTop() > 100) { | if ($(this).scrollTop() > 100) { | ||
$("#nav").css("position","fixed").css("top","0"); | $("#nav").css("position","fixed").css("top","0"); |
Revision as of 15:44, 13 September 2014