Template:Kyoto/js

From 2014.igem.org

(Difference between revisions)
(Undo revision 129979 by Mitsuaki (talk))
Line 2: Line 2:
<script type="text/javascript">  
<script type="text/javascript">  
function adjustHeight() {
function adjustHeight() {
-
   var HEIGHT = $(window).height() + 100
+
   var HEIGHT = $(window).height()
   document.getElementById("kyoto-background").style.height = screen.height + 'px';  
   document.getElementById("kyoto-background").style.height = screen.height + 'px';  
-
   HEIGHT = HEIGHT - 270
+
   var HEIGHT = 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:23, 22 September 2014