Template:Team:Calgary/Test
From 2013.igem.org
(Difference between revisions)
Line 19: | Line 19: | ||
if(window.pageYOffset < 100) | if(window.pageYOffset < 100) | ||
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); | ||
- | + | $('#Content').css('top', '1px'); | |
else | else | ||
$('#TopBar').css('position', 'fixed'); | $('#TopBar').css('position', 'fixed'); | ||
- | + | $('#Content').css('top', '180px'); | |
}); | }); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 04:12, 23 September 2013