Currently, I am utilizing jQuery UI's Accordion feature from http://jqueryui.com/demos/accordion/, and my goal is to adjust it so that it resizes based on the contents of each panel rather than just fitting the largest one.
In addition, I am seeking a solution to make a specific panel open by default when the page loads. Ideally, I want the bottommost panel to be open initially. Is there a way to achieve this?
Any assistance is greatly appreciated!
UPDATE: Attempted adding height:auto !important;
in the jquery-ui.css file under
.ui-accordion .ui-accordion-content-active
to address the resizing issue, but encountered a strange problem where one panel remains open while another is opening upon closure.