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() - 170 |
document.getElementById("kyoto-side_menu").style.maxHeight = HEIGHT + 'px'; | document.getElementById("kyoto-side_menu").style.maxHeight = HEIGHT + 'px'; | ||
HEIGHT = HEIGHT - 10 | HEIGHT = HEIGHT - 10 |
Revision as of 12:07, 28 September 2014