Guest User

Untitled

a guest
Jul 18th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. $(document).ready(function(){
  2. $('.height-outer').each(function(){
  3. var highestBox = 0;
  4. $('.equilheight', this).each(function(){
  5. if($(this).height() > highestBox) {
  6. highestBox = $(this).height();
  7. }
  8. });
  9. $('.equilheight',this).height(highestBox);
  10. });
  11. });
  12.  
  13.  
  14. /*
  15. * <div class="container height-outer">
  16. * <div class="col-xs-4 equilheight">
  17. * <div class="col-xs-4 equilheight">
  18. * <div class="col-xs-4 equilheight">
  19. * </div>
  20. */
Add Comment
Please, Sign In to add comment