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+"']").css('height')); }
+
complete: function() { $("#contentWrapper").css('height', $(".textWrapper[rel='"+page+"']").parent().css('height')); }
}); } 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']").css('height'));
+
$("#contentWrapper").css('height', $(".textWrapper[rel='ajax']").parent().css('height'));
});
});
}
}

Revision as of 16:41, 25 October 2010