Team:Tuebingen/Template/equalHeight

From 2013.igem.org

(Difference between revisions)
Line 5: Line 5:
<body>
<body>
<script>
<script>
-
   var h = document.getElementById("bodyContent").offsetHeight;
+
  var t = document.getElementById("actualContent").offsetTop;
-
   document.getElementById("left").style.height = h + "px";
+
   var h = document.getElementById("actualContent").offsetHeight;
 +
   document.getElementById("left").style.height = h + t + "px";
</script>
</script>
</body>
</body>

Revision as of 22:53, 27 August 2013