Posted By

griffpup on 02/10/12


Tagged

textmate js+layout+equal+height


Versions (?)

equalheight_js


 / Published in: Other
 

  1. function equalHeight(group) {
  2. var tallest = 0;
  3. group.each(function() {
  4. thisHeight = $(this).height();
  5. if(thisHeight > tallest) {
  6. tallest = thisHeight;
  7. }
  8. });
  9. group.height(tallest);
  10. }

Report this snippet  

You need to login to post a comment.