twitter-bootstrap,accordion,collapsable
I eventually succeeded in this using simple slideUp and slideDown functions. Working version can be found here. Also note the addition of hidden="hidden" to the divs which are effectively the accordion 'panes'.
Just replace the VBox with a StackPane. StackPane lays out its children in a back-to-front stack i.e all the children have a z-order. The children being the TreeView and FlowPane, with the later being on top of the former. TreeView is wrapped in an AnchorPane, giving enough space to the...
add #variable input { width:100%; min-width: 180px;} to your css, so it will keep percentage but content will hide on collapse See demo here...
javascript,jquery,twitter-bootstrap,collapsable
The code you provided works fine so the error you are seeing must have something to do with other code on the page. Most likely reasons are You are missing references to the Bootstrap JavaScript or CSS files. You are missing jQuery. You have not put jQuery before the Bootstrap...
twitter-bootstrap-3,collapsable
To get what you want you will indeed have to set the `data-parent', but also notice that this also require a '.panel' class. From the docs: If a selector is provided, then all collapsible elements under the specified parent will be closed when this collapsible item is shown. (similar to...
jquery-mobile,panel,collapsable,jquery-mobile-collapsible
An easy way to do this is to call the destroy method before updating the collapsible, then reinitialize it at the end: $("#barHours").collapsible( "destroy" ); //destroy the widget $("#barHours").empty(); $("#barHours").append('<h3>Hours: </h3>'); $("#barHours").append('Monday: 8-5<br>'); $("#barHours").append('Tuesday: 8-5<br>'); $("#barHours").append('Wednesday: 8-5<br>'); $("#barHours").append('Thursday:8-5 <br>'); $("#barHours").append('Friday: 8-5<br>'); $("#barHours").append('Saturday:...