Home / jQuery

jQuery

How To Create Equal Height Columns | make equal height blocks using jQuery

jQuery(document).ready(function(){ var highestBox = 0; jQuery('.front-page-countertops-featured .vc_general.vc_cta3.vc_cta3-shape-square').each(function(){ if(jQuery(this).height() > highestBox){ highestBox = jQuery(this).height(); } }); jQuery('.front-page-countertops-featured .vc_general.vc_cta3.vc_cta3-shape-square').height(highestBox); }); Hits: 18

Read More »