Jump to content

Collapsable table


Alienware

Recommended Posts

Ok so on my game i have a menu that runs on the left hand side of the site.

 

I would like to make the tables on it collapsable

 

here is one of the tables-

 

<table align="center" width="100%" class="tbl">
<tr><td align="center" class="hdr">.::Other::.</td></tr>
<tr><td align="left" class="tbl">
 <a href="you.php" target="main">Your stats</a><br />
 <a href="personal.php" target="main">Personal</a><br />
 <a href="vote.php" target="main">Vote</a><br />
 <a href="statistics.php" target="main">Game statistics</a><br />
 <a href="notfinished.php" onclick="window.open(this.href, '_blank', 'width=500,height=700,scrollbars=yes,resizable=no,status=no,screenx=5,screeny=5');return false;" onkeypress="this.onclick()">FAQ</a><br />
 <a href="abusereport.php" target="main"><font color="red">Report Abuse</font></a><br />
 <a href="request.php" target="main"><font color="red">Parental control</font></a><br />
 <a href="logout.php" target="main">Logout</a><br />
</td></tr>
</table>

 

I would like to only show the .::Other::. as it does now.. but when a user clicks on it the list drops down.

 

any ideas? im stuck

Link to comment
https://forums.phpfreaks.com/topic/122664-collapsable-table/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.