I'm looking for a jQuery plugin sidebar menu with horizontal collapse/expand and hopefully drag-n-drop resize. It would nice if it take the following list for menu options:
<ul>
<li><a href="#">option 1</a></li>
<ul>
<li><a href="#">sub-option A</a></li>
</ul>
<li>开发者_开发百科<a href="#">option 2</a></li>
<li><a href="#">option 3</a></li>
</ul>
Does anyone have recommendations or suggestions?
I like the approach of jQuerySideBar Plugin but would prefer something a little simpler and more flexible.
It sounds like you're talking about an Accordion.
http://docs.jquery.com/UI/Accordion
http://jqueryui.com/demos/accordion/
You should also check out jQuery UI's Resizable feature.
There is a horizontal accordion here:
http://www.portalzine.de/Horizontal_Accordion_Plugin_2/index.html
精彩评论