Template:Team:Groningen/Header

From 2010.igem.org

(Difference between revisions)
Line 60: Line 60:
},   
},   
{duration: 300,  
{duration: 300,  
-
complete: function() { $("#contentWrapper").css('height', $(".textWrapper[rel='"+page+"']").parent().css('height')); }
+
complete: function() { $("#contentWrapper").css('height', $(".textWrapper[rel='"+page+"']").parent().outerHeight() + "px"); }
}); } else {
}); } else {
$(".ajaxWrapper").html("");
$(".ajaxWrapper").html("");
Line 68: Line 68:
margin = (margin * (pages.length)) * -1;
margin = (margin * (pages.length)) * -1;
$(".tabslider").css("margin-left", margin + "px");
$(".tabslider").css("margin-left", margin + "px");
-
$("#contentWrapper").css('height', $(".textWrapper[rel='ajax']").parent().css('height'));
+
$("#contentWrapper").css('height', $(".textWrapper[rel='ajax']").parent().outerHeight() + "px");
});
});
}
}

Revision as of 16:47, 25 October 2010