Team:DTU-Denmark/sysucolortest
From 2014.igem.org
(Difference between revisions)
Line 54: | Line 54: | ||
$(window).scroll(function() { | $(window).scroll(function() { | ||
- | if ($(this).scrollTop() > | + | if ($(this).scrollTop() > 68) { |
$("#nav").css("position","fixed").css("top","0px"); | $("#nav").css("position","fixed").css("top","0px"); | ||
$("#nav").css("background-color","#353535"); | $("#nav").css("background-color","#353535"); |
Revision as of 13:58, 6 October 2014
MOVED to template_css