Template:Team:Calgary/Test
From 2013.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
$('#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'); | ||
} | } | ||
- | else (window.pageYOffset > 89) { | + | else (window.pageYOffset >= 89) { |
$('#Banner').css('background', '#D8D8D8'); | $('#Banner').css('background', '#D8D8D8'); | ||
} | } | ||
Line 26: | Line 26: | ||
$('#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'); | ||
} | } | ||
- | else (window.pageYOffset > 89) { | + | else (window.pageYOffset >= 89) { |
$('#Banner').css('background', '#D8D8D8'); | $('#Banner').css('background', '#D8D8D8'); | ||
} | } |
Revision as of 04:26, 23 September 2013