Template:Team:Groningen/Header

From 2010.igem.org

(Difference between revisions)
Line 39: Line 39:
$(document).ready(function() {
$(document).ready(function() {
-
$("#contentWrapper").css('height', $("#otherContent").height() + "px");
+
$("#contentWrapper").css('height', $("#otherContent").outerHeight() + "px");
$("ul#topnav li").find("span").stop().fadeTo('normal', 0).hide();  
$("ul#topnav li").find("span").stop().fadeTo('normal', 0).hide();  
$("ul#topnav li").hover(function() {  
$("ul#topnav li").hover(function() {  
Line 60: Line 60:
$.get(url, function(data) {
$.get(url, function(data) {
$(".ajaxWrapper").html(data);
$(".ajaxWrapper").html(data);
-
$("#contentWrapper").css('height', $("#otherContent").height() + "px");
+
$("#contentWrapper").css('height', $("#otherContent").outerHeight() + "px");
});
});
});
});

Revision as of 15:02, 27 October 2010