Template:Team:Amsterdam/ernst/Foot

From 2012.igem.org

(Difference between revisions)
 
(6 intermediate revisions not shown)
Line 1: Line 1:
<html>
<html>
<script> <!-- Script that fixes the column heights -->
<script> <!-- Script that fixes the column heights -->
-
var heightR = $("#main-sidebar-right").height();
+
var height = Math.max($("#main-sidebar-right").height(),$("#main-content").height());
-
var heightL = $("#main-content").height();
+
-
alert(heightR);
+
$("#main-sidebar-right").css({ height: height});
-
 
+
$("#main-content").css({ height: height});
-
if(heightL > heightR){
+
-
    $("#main-sidebar-right").css({ height: heightL});
+
-
} else {
+
-
    $("#main-content").css({ height: heightR});
+
-
}
+
</script>
</script>
-
<div id="footer2">
+
</div><!-- Is opened in header (id=main-bg) -->
 +
<div id="footer">
<a href="http://www.uva.nl"><img src="http://www.uva.nl/template/skins/uva/gfx/uva-nl.jpg" height="50"></img></a>
<a href="http://www.uva.nl"><img src="http://www.uva.nl/template/skins/uva/gfx/uva-nl.jpg" height="50"></img></a>
<a href="http://www.vu.nl"><img src="http://www.vu.nl/nl/Images/VUlogo_NL_530px_tcm9-201740.png" height="50"></a>
<a href="http://www.vu.nl"><img src="http://www.vu.nl/nl/Images/VUlogo_NL_530px_tcm9-201740.png" height="50"></a>

Latest revision as of 09:24, 2 July 2012

Retrieved from "http://2012.igem.org/Template:Team:Amsterdam/ernst/Foot"