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() {
-
   HEIGHT = screen.availHeight
+
   HEIGHT = screen.height
   document.getElementById("kyoto-background").style.height = HEIGHT + 'px';  
   document.getElementById("kyoto-background").style.height = HEIGHT + 'px';  
-
   HEIGHT = HEIGHT - 150
+
   HEIGHT = screen.availHeight - 200
   document.getElementById("kyoto-side_menu").style.height = HEIGHT + 'px';  
   document.getElementById("kyoto-side_menu").style.height = HEIGHT + 'px';  
   HEIGHT = HEIGHT - 10
   HEIGHT = HEIGHT - 10

Revision as of 17:03, 21 September 2014