Return to Snippet

Revision: 59523
at September 14, 2012 08:45 by dnnsldr


Initial Code
$.fn.setAllToMaxHeight = function(){
return this.height( Math.max.apply(this, $.map( this , function(e){ return $(e).height() }) ) );
}

// usage: $('div.unevenheights').setAllToMaxHeight()

Initial URL
http://www.broken-links.com/2009/01/20/very-quick-equal-height-columns-in-jquery/

Initial Description
Simple way to create equal height columns/divs

Initial Title
Set Equal Column Heights

Initial Tags


Initial Language
jQuery