Quantcast
Channel: Bootstrap 3 collapse accordion: collapse all works but then cannot expand all while maintaining data-parent - Stack Overflow
Browsing all 5 articles
Browse latest View live

Answer by mike for Bootstrap 3 collapse accordion: collapse all works but...

To keep the accordion nature intact when wanting to also use 'hide' and 'show' functions like .collapse( 'hide' ), you must initialize the collapsible panels with the parent property set in the object...

View Article



Answer by Sheryar Nizar for Bootstrap 3 collapse accordion: collapse all...

The best and tested solution is to put the following small snippet which will collapse the accordion tab which is already open when you load. In my case the last sixth tab was open so I made it...

View Article

Answer by KyleMit for Bootstrap 3 collapse accordion: collapse all works but...

Updated Answer Trying to open multiple panels of a collapse control that is setup as an accordion i.e. with the data-parent attribute set, can prove quite problematic and buggy (see this question on...

View Article

Answer by Trevor for Bootstrap 3 collapse accordion: collapse all works but...

For whatever reason $('.panel-collapse').collapse({'toggle': true, 'parent': '#accordion'}); only seems to work the first time and it only works to expand the collapsible. (I tried to start with a...

View Article

Bootstrap 3 collapse accordion: collapse all works but then cannot expand all...

I'm using Bootstrap 3 and trying to setup the following accordion/collapse structure: Onload: Each accordion panel in a group is fully collapsed and functions as documented/expected. Button click:...

View Article

Browsing all 5 articles
Browse latest View live




Latest Images