Difference between revisions of "Template:ETH Zurich"
m |
m |
||
Line 17: | Line 17: | ||
obj.parentElement.style.maxHeight = "100px"; | obj.parentElement.style.maxHeight = "100px"; | ||
obj.getElementsByTagName('img')[0].style.backgroundPosition = "0px 0px"; | obj.getElementsByTagName('img')[0].style.backgroundPosition = "0px 0px"; | ||
+ | obj.parentElement.style.paddingBottom = "0px"; | ||
} else { | } else { | ||
− | obj.parentElement.style.maxHeight = "999999px"; | + | obj.parentElement.style.maxHeight = "999999px"; |
obj.getElementsByTagName('img')[0].style.backgroundPosition = "0px 24px"; | obj.getElementsByTagName('img')[0].style.backgroundPosition = "0px 24px"; | ||
+ | obj.parentElement.style.paddingBottom = "60px"; | ||
} | } | ||
Revision as of 15:19, 19 August 2015