Template:Kyoto/js
From 2014.igem.org
(Difference between revisions)
(Replaced content with "<html> <script type="text/javascript"> - →*** sandbox2用 ****: var dropdown=new TINY.dropdown.init("dropdown", {id:'menu', active:'menuhover'}); /*function Menudropdown(){...") |
|||
Line 1: | Line 1: | ||
<html> | <html> | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
- | + | function adjustHeight() { | |
- | + | HEIGHT = $(window).height() - 150 | |
- | + | document.getElementById("kyoto-background").style.height = HEIGHT + 'px'; | |
- | + | HEIGHT = HEIGHT - 150 | |
- | + | document.getElementById("kyoto-side_menu").style.height = HEIGHT + 'px'; | |
+ | HEIGHT = HEIGHT - 10 | ||
+ | document.getElementById("kyoto-content_page").style.height = HEIGHT + 'px'; | ||
} | } | ||
</script> | </script> | ||
</html> | </html> | ||
+ | <html><body onload="javascript:adjustHeight()"></html> |
Revision as of 16:40, 21 September 2014