MyBB Community Forums

Full Version: Make a Collapsible & Expandable Menu
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Like In The Index Page:
[Image: d7T]
What would be the code to make it collapsible?
<table width="100%" border="0" cellspacing="1" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="thead">
<div class="expcolimage"><img src="images/collapse.gif" id="important_18_img" class="expander" alt="[-]" /></div>
<div><strong>Collapse / Expand Example</strong></div>
</td>
</tr>
</thead>
<tbody style="" id="important_18_e">
<tr>
<td class="trow1">Text Here !!</div></td>
</tr>
<td class="tfoot">
</tbody>
</table>
<br/>

Result:
[attachment=21474]