Template:Kyoto/js

From 2014.igem.org

(Difference between revisions)
(Undo revision 129878 by Mitsuaki (talk))
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.maxHeight = HEIGHT + 'px';  
   HEIGHT = HEIGHT - 10
   HEIGHT = HEIGHT - 10
-
   document.getElementById("kyoto-content_page").style.height = HEIGHT + 'px';  
+
   document.getElementById("kyoto-content_page").style.maxHeight = HEIGHT + 'px';  
}
}
</script>
</script>
</html>
</html>
<html><body onload="javascript:adjustHeight()"></html>
<html><body onload="javascript:adjustHeight()"></html>

Revision as of 05:18, 22 September 2014