How to get accordion height

How to get accordion height

I have menu which works like accordion, and there is background in body, when all accordion <ul> opens then accordion overlap the background image, ie. the body height must resize.

Here is link.


Try Objects > object1, Object2 , object3 (open all) and see at bottom.

please help me. I tried to get height all visible li as it opens but allas.