MyBB Community Forums

Full Version: Default Collapsed
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How do I set a box to be closed (collapsed) by default?
This is the code right now:
<div class="ud">
<div class="pl">
<table width="100%" border="0" cellspacing="1" cellpadding="4" class="tborder">
<thead>
<tr>
<td class="example">
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" id="welcome_img" border="0" class="expander" alt="[-]" /></a></div>
<div><strong>Example Title</strong></div>
</td>
</tr>
</thead>
<tbody style="" id="welcome_e">
<tr><td class="trow1">
<span class="smalltext">
asdfsdf
</span>
</table>
<br/>
</div>
</div>
Specifically this part:
<div class="expcolimage"><img src="{$theme['imgdir']}/collapse.gif" id="welcome_img" border="0" class="expander" alt="[-]" /></a></div>
I know in MyPlaza you can set something to be closed by default.
Any help?
Thanks!