Team:Tuebingen/Template/equalHeight

From 2013.igem.org

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

Revision as of 22:55, 27 August 2013