Template:Kyoto/js

From 2014.igem.org

(Difference between revisions)
(Undo revision 128469 by Mitsuaki (talk))
Line 2: Line 2:
<script type="text/javascript">  
<script type="text/javascript">  
function adjustHeight() {
function adjustHeight() {
-
   HEIGHT = screen.availWidth - 150
+
   HEIGHT = $(window).height() - 150
   document.getElementById("kyoto-background").style.height = HEIGHT + 'px';  
   document.getElementById("kyoto-background").style.height = HEIGHT + 'px';  
   HEIGHT = HEIGHT - 150
   HEIGHT = HEIGHT - 150

Revision as of 16:56, 21 September 2014