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()
   document.getElementById("kyoto-background").style.height = screen.height + 'px';  
   document.getElementById("kyoto-background").style.height = screen.height + 'px';  
-
   var HEIGHT = $(window).height() - 170
+
   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:22, 22 September 2014