liabru / jquery-match-height

a responsive equal heights plugin
MIT License
3.07k stars 799 forks source link

How to set the equal height after click action for some div element is set to invisible? #159

Open wilsontse88 opened 7 years ago

wilsontse88 commented 7 years ago

Here is the screen that I need to reset the height by after some div are display ..

how ,? please help me..

the first div is 188.889px and the 2nd div is 162.889px ...V_V

can i set the equal height after some div are set the display: none ??

matchheight

Tthanks.

luuptekman commented 6 years ago

Old question, but found this when searching for answer for my problem.

These should do the trick:

First remove the height settings: $('.item').matchHeight({ remove: true });

Then: $('.item').matchHeight({byRow: false});