PDA

View Full Version : Control final height of collapse element



bs_fish
03-28-2014, 10:51 AM
I've got a collapsible element that's fixed to the bottom of it's container so it grows upwards. The BS collapse functionality will animate it's height according to the content and then apply an inline style height:auto. I want to be able to set the height that it finally comes to rest at.

I've been trying to do this with jquery but can't seem to overide the default behavior and Google doesn't give me any answers.

Any advice or pointers will be greatly appreciated, thanks.