Team:Tuebingen/Template/equalHeight

From 2013.igem.org

(Difference between revisions)
 
(17 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<head>
<head>
 +
<style>
 +
</style>
</head>
</head>
<body>
<body>
 +
 +
<script>
<script>
-
   var h = document.getElementById("bodyContent").offsetHeight;
+
   var tfb = document.getElementById("TueFooter").offsetTop;
-
   document.getElementById("left").style.height = h + "px";
+
  var tl = document.getElementById("left").offsetTop;
 +
 
 +
   document.getElementById("left").style.height = tfb - tl - 25 + "px";
</script>
</script>
</body>
</body>

Latest revision as of 23:40, 29 August 2013