ClarusDignus

jQuery equal element height

Nov 22nd, 2013
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
jQuery 0.19 KB | None | 0 0
  1. //Applied for when page loads and when browser resizes:
  2. var contentHeight = $('.heightfix_listitem1').height();
  3. $('.heightfix_listitem2, .heightfix_listitem3').css('height', contentHeight + "px");
Advertisement
Add Comment
Please, Sign In to add comment