MyBB Community Forums

Full Version: How can I do it my menu to collapsible?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I wanna make my menu to collapsible. 
First: [attachment=43079]

When I clicked the button: [attachment=43080]


My usercp_nav  template:

<td width="{$lang->ucp_nav_width}" valign="top">
<table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder">
<tbody>
<tr>
<td class="thead"><strong>{$lang->ucp_nav_menu}</strong></td>
</tr>
{$ucp_nav_home}
</tbody>
{$usercpmenu}
</table>
</td>
(2020-07-23, 08:18 PM)Michael2014 Wrote: [ -> ]Hi, check this link https://www.google.com/search?q=make+col...e&ie=UTF-8

I already looked at all the sites. But I looked again now. Most of the thread they open are collapse "problems". I don't know how to make to collapse menu. I copyed collapse code on the default theme  to usercp_nav and tested it. It didn't work. Collapses that I found collapse codes from different sites also have a javascript problem. I just want to change my menu to collapse menu on the above code. Could you help?