Template:Kyoto/js
From 2014.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
function adjustHeight() { | function adjustHeight() { | ||
- | |||
document.getElementById("kyoto-background").style.height = screen.height + 'px'; | document.getElementById("kyoto-background").style.height = screen.height + 'px'; | ||
- | var 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 06:24, 22 September 2014