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;
-
   document.getElementById("left").style.height = t + "px";
+
  var hac = document.getElementById("actualContent").offsetHeight;
 +
  var htl = document.getElementById("teamLogo").offsetHeight;
 +
 
 +
   document.getElementById("left").style.height = t + hac - htl + "px";
</script>
</script>
</body>
</body>

Revision as of 22:58, 27 August 2013