Template:Kyoto/js

From 2014.igem.org

(Difference between revisions)
(Undo revision 128469 by Mitsuaki (talk))
(Undo revision 128498 by Mitsuaki (talk))
Line 2: Line 2:
<script type="text/javascript">  
<script type="text/javascript">  
function adjustHeight() {
function adjustHeight() {
-
   HEIGHT = $(window).height() - 150
+
   HEIGHT = screen.availWidth - 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:57, 21 September 2014