Team:Tuebingen/Template/equalHeight

From 2013.igem.org

(Difference between revisions)
Line 5: Line 5:
<body>
<body>
<script>
<script>
-
   var t = document.getElementById("actualContent").offsetTop;
+
   var tfb = document.getElementById("footer-box").offsetTop;
-
   var hac = document.getElementById("actualContent").offsetHeight;
+
   var tl= document.getElementById("left").offsetTop;
-
  var htl = document.getElementById("teamLogo").offsetHeight;
+
-
  var hts = document.getElementById("top-section").offsetHeight;
+
-
  var hbc = document.getElementById("bodyContent").offsetHeight;
+
-
  var hl = document.getElementById("left").offsetHeight;
+
    
    
-
   document.getElementById("left").style.height = t + hac - hbc - htl - hl - htl - hts + "px";
+
   document.getElementById("left").style.height = tfb + tl + "px";
</script>
</script>
</body>
</body>
Line 18: Line 14:
</html>
</html>
 +
 +
footer-box.

Revision as of 23:13, 27 August 2013

footer-box.