How to show more than one item in single jquery ui accordion opened section?

The documentation specifically instructs user to NOT do this: NOTE: If you want multiple sections open at once, don't use an accordion Source: jQuery UI Documentation UPDATE Try changing fillSpace: false and autoHeight : true see what that does.

The documentation specifically instructs user to NOT do this: NOTE: If you want multiple sections open at once, don't use an accordion. Source: jQuery UI Documentation UPDATE Try changing fillSpace: false and autoHeight : true, see what that does.

There is only single section to be opened. Issue is that every single section showns only single item. Question asks how tro show more than one item in single section.

There are no multiple sections open. – Andrus Nov 6 at 16:47.

As the other answer said, The documentation specifically instructs user to NOT do this "NOTE: If you want multiple sections open at once, don't use an accordion. " yet, there is a way. I use it like this, and I find it very simple and useful: create multiple one-item accordion panels one after another with collapsible set to true to emulate a multi-panel accordion.

Here is the markup: First header First content Second header Second content Third header Third content here is the script: $(". Accordion"). Accordion({collapsible: true}).

Nice hack @marxus – alonisser Nov 6 at 17:21 @marxus: thank you, great hack, I upvoted it. However I asked about showing multiple items in single panel. To save screen space it is ok to have only single item open at time in this case.

– Andrus Nov 6 at 19:43.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions