2010-01-24, 10:40 AM
I'm trying to add a collapse button to a menu in the header iv added this code:
But when i collapse it and refresh the page its uncollapsed how do i get it to remember how i left it.
<td class="tcat">
<tr>
<div class="expcolimage"><img src="http://www.gfxpalace.com/images/realize/collapse.gif" id="block_{$result_blocks['id']}_img" class="expander" alt="{$expaltext}" title="{$expaltext}" /></div><strong>{$title}</strong></td>
</tr>
<tbody style="{$expdisplay}" id="block_{$result_blocks['id']}_e">
But when i collapse it and refresh the page its uncollapsed how do i get it to remember how i left it.