Template:Team:Calgary/Test
From 2013.igem.org
(Difference between revisions)
Line 9: | Line 9: | ||
if (window.pageYOffset < 89) { | if (window.pageYOffset < 89) { | ||
- | $('#Banner').css(' | + | $('#Banner').css('height', '100px'); |
} | } | ||
else { | else { | ||
- | $('#Banner').css(' | + | $('#Banner').css('height', '89px'); |
} | } | ||
Line 24: | Line 24: | ||
$(window).scroll(function() { | $(window).scroll(function() { | ||
if (window.pageYOffset < 89) { | if (window.pageYOffset < 89) { | ||
- | $('#Banner').css(' | + | $('#Banner').css('height', '100px'); |
} | } | ||
else { | else { | ||
- | $('#Banner').css(' | + | $('#Banner').css('height', '89px'); |
} | } | ||
Revision as of 04:39, 23 September 2013