Template:Team:Calgary/Test
From 2013.igem.org
(Difference between revisions)
Line 32: | Line 32: | ||
if(window.pageYOffset < 100) { | if(window.pageYOffset < 100) { | ||
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); | ||
- | $('#Content').css('top', ' | + | $('#Content').css('top', '-4px'); |
} | } | ||
else { | else { | ||
$('#TopBar').css('position', 'fixed'); | $('#TopBar').css('position', 'fixed'); | ||
- | $('#Content').css('top', ' | + | $('#Content').css('top', '94px'); |
} | } | ||
}); | }); |
Revision as of 04:40, 23 September 2013