Template:Team:Calgary/Test
From 2013.igem.org
(Difference between revisions)
Line 18: | Line 18: | ||
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:11, 23 September 2013