/ Published in: jQuery
Expand |
Embed | Plain Text
$.fn.equalizeHeights = function(){ return this.height( Math.max.apply(this, $(this).map(function(i,e){ return $(e).height() }).get() ) ) }
You need to login to post a comment.
davebowker on 02/01/11
1 person have marked this snippet as a favorite
$.fn.equalizeHeights = function(){ return this.height( Math.max.apply(this, $(this).map(function(i,e){ return $(e).height() }).get() ) ) }
You need to login to post a comment.