By default, the menu will launch in collapsed state and function like an accordion.
Same as the first example but with the first submenu expanded when the page loads. This is achieved by adding a CSS class expandfirst to the unordered list.
This is a standard expandable menu without accordion functionality. This is achieved by adding a CSS class named noaccordion to the unordered list.
This menu works like an accordion when one menu item is already expanded but will collapse completely when the expanded item is clicked. Additionally it has the first item expanded at page load. This is achieved by adding a CSS class named collapsible and another CSS class named expandfirst like in example 2.
Download everything in a zip file
Terug