Template:Team:Calgary/Test
From 2013.igem.org
(Difference between revisions)
Line 6: | Line 6: | ||
$('#Page').css({'position' : 'relative', top : '120px'}); | $('#Page').css({'position' : 'relative', top : '120px'}); | ||
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); | ||
- | $('#Content').css('top', ' | + | $('#Content').css('top', '0'); |
if(window.pageYOffset < 100) { | if(window.pageYOffset < 100) { | ||
Line 18: | Line 18: | ||
if(window.pageYOffset < 100) { | if(window.pageYOffset < 100) { | ||
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); | ||
- | $('#Content').css('top', ' | + | $('#Content').css('top', '0'); |
} | } | ||
else { | else { |
Revision as of 04:14, 23 September 2013