Skip to content

Instantly share code, notes, and snippets.

@DioVayne
Created September 25, 2013 11:16
Show Gist options
  • Save DioVayne/6698221 to your computer and use it in GitHub Desktop.
Save DioVayne/6698221 to your computer and use it in GitHub Desktop.
//kolommen even hoog maken bv. equalHeight($('.content').find('article'));
function equalHeight(group) {
var tallest = 0;
if(group.length){
group.each(function () {
var thisHeight = $(this).height();
if (thisHeight > tallest) {
tallest = thisHeight;
}
});
group.height(tallest);
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment