Template:Kyoto/js
From 2014.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
function adjustHeight() { | function adjustHeight() { | ||
document.getElementById("kyoto-background").style.height = screen.height + 'px'; | document.getElementById("kyoto-background").style.height = screen.height + 'px'; | ||
- | var HEIGHT = $(window).height() - | + | var HEIGHT = $(window).height() - 160 |
document.getElementById("kyoto-side_menu").style.maxHeight = HEIGHT + 'px'; | document.getElementById("kyoto-side_menu").style.maxHeight = HEIGHT + 'px'; | ||
- | HEIGHT = HEIGHT - | + | HEIGHT = HEIGHT - 20 |
document.getElementById("kyoto-content_page").style.maxHeight = HEIGHT + 'px'; | document.getElementById("kyoto-content_page").style.maxHeight = HEIGHT + 'px'; | ||
} | } |
Revision as of 12:07, 28 September 2014