Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // @desc: jQuery plugin to make elements equal height
- (function($) {
- $.fn.equalizeHeight = function() {
- var elementHeight = 0;
- this.each(function(){
- if ($(this).height() > elementHeight) {
- elementHeight = $(this).height();
- }
- });
- return this.height(elementHeight);
- };
- }(jQuery));
Add Comment
Please, Sign In to add comment