Template:Team:Calgary/Test

From 2013.igem.org

(Difference between revisions)
Line 36: Line 36:
$(document).ready(function() {
$(document).ready(function() {
-
if ($('body').width() > 744) {
+
if ($('body').width() > 868) {
 +
$('#TopBar').css('padding-left', Math.floor(($('body').width() - 868) / 2));
 +
$('#LogoItem').css('display', 'block');
 +
}
 +
else if ($('body').width() > 744) {
$('#TopBar').css('padding-left', Math.floor(($('body').width() - 744) / 2));
$('#TopBar').css('padding-left', Math.floor(($('body').width() - 744) / 2));
$('#LogoItem').css('display', 'none');
$('#LogoItem').css('display', 'none');

Revision as of 21:49, 13 August 2013

Home