Skip to content

Instantly share code, notes, and snippets.

@dfadler
Created April 19, 2012 16:05
Show Gist options
  • Save dfadler/2422010 to your computer and use it in GitHub Desktop.
Save dfadler/2422010 to your computer and use it in GitHub Desktop.
Set Column Height
function setColumnHeight(obj1, obj2) {
if($(obj1).height() < $(obj2).height()) {
$(obj1)
.css({
'height': $(obj2).height()
});
} else {
$(obj2)
.css({
'height': $(obj1).height()
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment