Template:Team:Calgary/Test
From 2013.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
$('#Content').css('top', '0'); | $('#Content').css('top', '0'); | ||
- | + | /* if (window.pageYOffset < 89) { | |
$('#Banner').css('background', 'url(https://static.igem.org/mediawiki/2013/8/89/2013UCalgaryTeamBackground.png) top center'); | $('#Banner').css('background', 'url(https://static.igem.org/mediawiki/2013/8/89/2013UCalgaryTeamBackground.png) top center'); | ||
} | } | ||
Line 14: | Line 14: | ||
$('#Banner').css('background', '#D8D8D8'); | $('#Banner').css('background', '#D8D8D8'); | ||
} | } | ||
- | + | */ | |
if (window.pageYOffset < 100) { | if (window.pageYOffset < 100) { | ||
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); | ||
Line 23: | Line 23: | ||
$(window).scroll(function() { | $(window).scroll(function() { | ||
- | + | /* if (window.pageYOffset < 89) { | |
$('#Banner').css('background', 'url(https://static.igem.org/mediawiki/2013/8/89/2013UCalgaryTeamBackground.png) top center'); | $('#Banner').css('background', 'url(https://static.igem.org/mediawiki/2013/8/89/2013UCalgaryTeamBackground.png) top center'); | ||
} | } | ||
Line 29: | Line 29: | ||
$('#Banner').css('background', '#D8D8D8'); | $('#Banner').css('background', '#D8D8D8'); | ||
} | } | ||
- | + | */ | |
if(window.pageYOffset < 100) { | if(window.pageYOffset < 100) { | ||
$('#TopBar').css('position', 'static'); | $('#TopBar').css('position', 'static'); |
Revision as of 04:25, 23 September 2013