Difference between revisions of "Template:ETH Zurich"
m |
m |
||
Line 49: | Line 49: | ||
/* Used to change style using jQuery based on browser size */ | /* Used to change style using jQuery based on browser size */ | ||
function adjustStyle(width) { | function adjustStyle(width) { | ||
− | |||
width = parseInt(width); | width = parseInt(width); | ||
/* if (width < 701) { | /* if (width < 701) { | ||
Line 59: | Line 58: | ||
}*/ | }*/ | ||
if (width < 1100) { | if (width < 1100) { | ||
+ | alert("too small"); | ||
$('#menuContainer li').css('float', 'none'); | $('#menuContainer li').css('float', 'none'); | ||
} | } |
Revision as of 19:56, 16 August 2015