Team:Tuebingen/Template/equalHeight

From 2013.igem.org

(Difference between revisions)
Line 8: Line 8:
   var hac = document.getElementById("actualContent").offsetHeight;
   var hac = document.getElementById("actualContent").offsetHeight;
   var htl = document.getElementById("teamLogo").offsetHeight;
   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 - htl + "px";
+
   document.getElementById("left").style.height = t + hac - (hbc - htl - hl) - htl - hts + "px";
</script>
</script>
</body>
</body>

Revision as of 23:03, 27 August 2013