[jQuery] Treeview - close/hide list item when list item/submenu item is clicked
Hi,
I really enjoy this plugin, great job to all the folks who have made it
possible.
I'm using treeview to have as an FAQ page. Right now, to close out a
submenu, the user has to reclick the parent menu. I would like to add a
feature where the viewer can click the an li item/submenu (in this case, an
answer) it would close out that answer /list/submenu.
this should paint a better image of what im talking about:
<ul>
<li> question 1 ---- the viewers click the question to show/hide an
answer but only one answer is opened/shown at a time
<ul>
<li> answer 1 </li> --- I want to give the viewers the ability to
close out the answer by clicking it
</uL>
</li>
<li> question 2
<ul>
<li> answer 2 </li>
</uL>
</li>
<li> question 3
<ul>
<li> answer 3 </li>
</uL>
</li>
</ul>
please help and thank you in advance
--
View this message in context: http://www.nabble.com/Treeview---close-hide-list-item-when-list-item-submenu-item-is-clicked-tp20082266s27240p20082266.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.