Template:Kyoto/js

From 2014.igem.org

(Difference between revisions)
Line 4: Line 4:
   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 = $(window).height() - 170
-
   document.getElementById("kyoto-side_menu").style.height = HEIGHT + 'px';  
+
   document.getElementById("kyoto-side_menu").style.max-height = HEIGHT + 'px';  
   HEIGHT = HEIGHT - 10
   HEIGHT = HEIGHT - 10
-
   document.getElementById("kyoto-content_page").style.height = HEIGHT + 'px';  
+
   document.getElementById("kyoto-content_page").style.max-height = HEIGHT + 'px';  
}
}
</script>
</script>
</html>
</html>
<html><body onload="javascript:adjustHeight()"></html>
<html><body onload="javascript:adjustHeight()"></html>

Revision as of 05:14, 22 September 2014