Posted By

gerhardsletten on 11/28/10


Tagged


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

b1tstream
charlesp1138


Equal height with jquery


 / Published in: jQuery
 

  1. $(document).ready(function() {
  2. var eheight = 0;
  3. var eheight_el = $('.equal-h');
  4. eheight_el.each(function(){
  5. var me_height = $(this).height();
  6. if(me_height>eheight) {
  7. eheight = me_height;
  8. }
  9. });
  10. eheight_el.height(eheight);
  11. });

Report this snippet  

You need to login to post a comment.