jQuery.equalHeights icon indicating copy to clipboard operation
jQuery.equalHeights copied to clipboard

Adjust div height based on row

Open itsonlyjames opened this issue 8 years ago • 0 comments

Noticed that all divs were getting the tallest div no matter what row, wrote this so that it gets the tallest div in that row only. This could also be implemented into a user setting, so that if they want all divs the same height no matter what they could set it.

Can also be made responsive, simply call the function on a window resize:

$(window).resize(function () {
  $('#equalheight div').equalHeights();
});

itsonlyjames avatar Apr 01 '16 03:04 itsonlyjames