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() { | ||
+ | var HEIGHT = $(window).height() + 100 | ||
document.getElementById("kyoto-background").style.height = screen.height + 'px'; | document.getElementById("kyoto-background").style.height = screen.height + 'px'; | ||
- | + | HEIGHT = HEIGHT - 260 | |
document.getElementById("kyoto-side_menu").style.maxHeight = HEIGHT + 'px'; | document.getElementById("kyoto-side_menu").style.maxHeight = HEIGHT + 'px'; | ||
HEIGHT = HEIGHT - 20 | HEIGHT = HEIGHT - 20 |
Revision as of 10:31, 8 October 2014