Team:Tuebingen/Template/equalHeight

From 2013.igem.org

(Difference between revisions)
 
(13 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<head>
<head>
 +
<style>
 +
</style>
</head>
</head>
<body>
<body>
 +
 +
<script>
<script>
-
   var t = document.getElementById("actualContent").offsetTop;
+
   var tfb = document.getElementById("TueFooter").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 - 25 + "px";
</script>
</script>
</body>
</body>

Latest revision as of 23:40, 29 August 2013