你也可以试试这个插件:http ://accordion-cd.blogspot.com/
如果您希望默认选择特定项目。还有许多选项可用于定制您的要求。
传入插件的参数:
heading : null //mandatory to provide Heading tag to attach event
content : null //mandatory to provide Content to show/hide
headingEvent : "click" //Attach Event
active : 0 //By default visible element
callapsAll : false //to hide all on page load
expandAll : "expandAll" //Element name on Expand All Functionality attached
collapsAll : "collapsAll" //Element name on Collapse All Functionality attached
headingClass : "accordion-header" //Accordion Heading Class
contentClass : "accordion-content" //Accordion Content Class