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