Home › Forums › JavaScript › Equal Height Blocks for more than one DIV? › Re: Equal Height Blocks for more than one DIV?
June 7, 2012 at 1:45 pm
#104044
Member
Oh yeah sorry, you are right! Equalizer needs to target the wrapper. And since there are two wrappers, you’ll need to initialize it like this:
$('#content_top, #content_bottom').equalizer();
And by the way, the “test” class isn’t needed for that plugin, unless you use the “column” option, just in case there are other elements inside of the content block that doesn’t need equalized:
$('#content_top, #content_bottom').equalizer({
columns : '.test'
});