Template:Team:Calgary/Test
From 2013.igem.org
(Difference between revisions)
Line 39: | Line 39: | ||
$('#TopBar').css('padding-left', Math.floor(($('body').width() - 868) / 2)); | $('#TopBar').css('padding-left', Math.floor(($('body').width() - 868) / 2)); | ||
$('#LogoItem').css('display', 'block'); | $('#LogoItem').css('display', 'block'); | ||
+ | } | ||
+ | else if (($('body').width() <= 868) && ($('body').width() > 744)) { | ||
+ | $('#TopBar').css('padding-left', Math.floor(($('body').width() - 744) / 2)); | ||
+ | $('#LogoItem').css('display', 'none'); | ||
} | } | ||
}); | }); |
Revision as of 21:40, 13 August 2013