Posted By

eivind on 01/07/10


Tagged

textmate jquery equal heights


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Flocke


Jquery equalHeights


 / Published in: Other
 

  1. function equalHeight(group) {
  2. 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.