Template:Team:Calgary/Test
From 2013.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
$(document).ready(function() { | $(document).ready(function() { | ||
$('#Banner').css('display', 'block'); | $('#Banner').css('display', 'block'); | ||
- | $('#Page').css({'position' : 'relative', top : ' | + | $('#Page').css({'position' : 'relative', top : '195px'}); |
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); | ||
$('#Content').css('top', '0'); | $('#Content').css('top', '0'); | ||
Line 15: | Line 15: | ||
}*/ | }*/ | ||
- | if (window.pageYOffset < | + | if (window.pageYOffset < 195) { |
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); | ||
} | } | ||
Line 30: | Line 30: | ||
}*/ | }*/ | ||
- | if(window.pageYOffset < | + | if(window.pageYOffset < 195) { |
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); | ||
$('#Content').css('top', '0'); | $('#Content').css('top', '0'); |
Revision as of 00:49, 24 September 2013