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 < 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