数据多了咋就这样了?
如题!建议复制我的代码去实际调试看一下!
拜谢!
2015-05-25
你把h3标签随后的p元素都用div包裹起来就可以了。
这是插件的说明:
Click headers to expand/collapse content that is broken into logical sections, much like tabs. Optionally, toggle sections open/closed on mouseover.
The underlying HTML markup is a series of headers (H3 tags) and content divs so the content is usable without JavaScript.
来源:http://jqueryui.com/accordion/
举报