How do you change the content panels in a spry accordion table to individual height?
I am creating a website and I don't like the way it looks when you have to scroll to see all of the information in the content panel but all the panels have different amounts of information and need to be different heights but I can only change the height with in a css rule right now which adjusts all of the panels and not each one individually.
Add the highlighted to the constructor
var acc1 = new Spry.Widget.Accordion("Acc1", { useFixedPanelHeights: false });
To add to Ben's response, take a look at this sample: http://adobe.github.io/Spry/samples/accordion/AccordionSample.html#VariablePanelHeights
The link http://adobe.github.io/Spry/samples/accordion/AccordionSample.html lists out all possible Accordion usage.