I'm trying to make an accordion effect, so that i can open and close div's. But unfortunatly, it isn't working.. So help anyone. This is my code, the thing between <caption> has to be always visible. And the open.gif has to open/close the div. Thanks in advance!
HTML Code:
<table>
<caption>
User Panel
<span style="margin-left: 65px;"><a href="#"><img src="images/open.gif"></a></span>
</caption>
<tr>
<div>
<td>
Text only visible when opened
</td>
</div>
</tr>
</table>