Accordion script: OnLoad How to Collapse all menu items?
I found this really lightweight acco开发者_如何学编程rdion script. This is the function that makes it work . On page load it automatically shows one of the menu items. I want it on page load to not show any ... the accordion to be in a collapsed state.
Any ideas or suggestions on what to modify in the script on page load to have the accordion in a collapsed state?
Try setting {active:false, collapsible:true} in the options
精彩评论