Template:Team:Calgary/ContentPage

From 2013.igem.org

(Difference between revisions)
 
Line 8: Line 8:
$('#Content').css('top', '0');
$('#Content').css('top', '0');
-
if (window.pageYOffset < 170) {
+
if (window.pageYOffset < 160) {
$('#TopBar').css('position', 'static');
$('#TopBar').css('position', 'static');
}
}
Line 16: Line 16:
$(window).scroll(function() {
$(window).scroll(function() {
-
if(window.pageYOffset < 170) {
+
if(window.pageYOffset < 160) {
$('#TopBar').css('position', 'static');
$('#TopBar').css('position', 'static');
$('#Content').css('top', '0');
$('#Content').css('top', '0');

Latest revision as of 19:27, 26 September 2013