Difference between revisions of "Template:ETH Zurich"

m
m
Line 87: Line 87:
 
function adjustStyle(width) {
 
function adjustStyle(width) {
 
   width = parseInt(width);
 
   width = parseInt(width);
/*  if (width < 701) {
 
    $("#size-stylesheet").attr("href", "https://2015.igem.org/Template:ETH_Zurich/template_wide.css?action=raw&ctype=text/css");
 
  } else if (width < 900) {
 
    $("#size-stylesheet").attr("href", "https://2015.igem.org/Template:ETH_Zurich/template_wide.css?action=raw&ctype=text/css");
 
  } else {
 
    $("#size-stylesheet").attr("href", "https://2015.igem.org/Template:ETH_Zurich/template_wide.css?action=raw&ctype=text/css");
 
  }*/
 
 
if (width < 1100) {
 
if (width < 1100) {
 
$('#menuContainer li').css('float', 'none');
 
$('#menuContainer li').css('float', 'none');
 +
$('#sidemenuContainer').css('display',none');
 +
$('#mainContainer').css('width','100%');
 
} else {
 
} else {
 +
$('#sidemenuContainer').css('display',block');
 
$('#menuContainer li').css('float', 'left');
 
$('#menuContainer li').css('float', 'left');
 +
$('#mainContainer').css('width','75%');
 
}
 
}
 
}
 
}

Revision as of 11:05, 18 August 2015

We would like to thank our sponsors