Setting Equal column Heights in JQuery

Goud.Kv
Posted by Goud.Kv under jQuery category on | Points: 40 | Views : 517
Below code snippet helps you to set the height of the column perfectly/handy than using CSS.

var maxHeight = 0;
$("div.column").each(function(){
if($(this).height() > maxHeight) { maxHeight = $(this).height(); }
});

$("div.column").height(maxHeight);

Comments or Responses

Login to post response