Last active
December 15, 2015 16:49
-
-
Save zaigham/5292023 to your computer and use it in GitHub Desktop.
A quick solution for same height columns.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://code.jquery.com/jquery-latest.min.js"></script> | |
<script type="text/javascript"> | |
var max = 0; | |
$(".col").each(function(){ | |
if ($(this).height() > max) { | |
max = $(this).height(); | |
} | |
}); | |
$(".col").height(max); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment