2009-08-21 19:29:45 +00:00
|
|
|
|
function equalHeight(group) {
|
|
|
|
|
tallest = 0;
|
|
|
|
|
group.each(function() {
|
|
|
|
|
thisHeight = $(this).height();
|
|
|
|
|
if (thisHeight > tallest) {
|
|
|
|
|
tallest = thisHeight;
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
group.height(tallest);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$(document).ready(function() {
|
|
|
|
|
equalHeight($(".sidebar"));
|
|
|
|
|
});
|