与你刚才是相同的问题,同一道理,
隐藏,
[CODE]
<style type=text/css>
td
{
font-size: 12px;
color: #ff0000;
line-height: 150%;
}
.sec1
{
background-color: #eeeeee;
cursor: hand;
color: #000000;
border-left: 1px solid #FFffff;
border-top: 1px solid #FFFFFF;
border-right: 1px solid gray;
border-bottom: 1px solid #eeeeee
}
.sec2
{
background-color: #eeeeee;
cursor: hand;
color: #ff0000;
border-left: 1px solid #FFFFFF;
border-top: 1px solid #FFFFFF;
border-right: 1px solid gray;
font-weight: bold;
}
.main_tab
{
background-color: #eeeeee;
color: #000000;
border-left:1px solid #FFffff;
border-right: 1px solid gray;
border-bottom: 1px solid gray;
}
</style>
<script language=javascript>
function secBoard(n)
{
for(i=0;i<secTable.cells.length;i++)
secTable.cells[i].className="sec1";
secTable.cells[n].className="sec2";
for(i=0;i<mainTable.tBodies.length;i++)
mainTable.tBodies[i].style.display="none";
mainTable.tBodies[n].style.display="block";
}
</script><body bgcolor="#FFFFFF" leftmargin="0" topmargin="0">
<table width=160 border=0 cellpadding=0 cellspacing=0 id=secTable>
<tr height=20 align=center>
<td class=sec2 width=10% onclick="secBoard(0)">图像</td>
<td class=sec1 width=10% onclick="secBoard(1)">档案</td>
<td class=sec1 width=10% onclick="secBoard(2)">统计</td>
</tr>
</table>
<table width=160 height=146 border=0 cellpadding=0 cellspacing=0 class=main_tab
id=mainTable>
<tbody style="display:block;">
<tr>
<td align=center valign=top>
<table width=80% height="100" border="0" cellpadding="0" cellspacing="0" boder=1>
<tr height=5>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr align="center" valign="middle">
<td height="84" colspan="3"><img src="http://998.it50.net/image/icecool.gif" width="100" height="100"></td>
</tr>
</table>
</td>
</tr>
</tbody>
<tbody style="display:none;">
<tr>
<td align=center valign=top>
<table width=80% height="109" border="0" cellpadding="0" cellspacing="0" boder=1>
<tr height=5>
<td width="25%"> </td>
<td width="75%"> </td>
</tr>
<tr>
<td><div align="left">昵称</div></td>
<td><div align="left">吃草的狼</div></td>
</tr>
<tr>
<td height="18">Q Q</td>
<td><div align="left">25924833</div></td>
</tr>
<tr>
<td>mail</td>
<td><div align="left">1832306@163.com</div></td>
</tr>
<tr>
<td height="19">主页</td>
<td><div align="left">998.it50.net</div></td>
</tr>
<tr>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
</tbody>
<tbody style="display:none;">
<tr>
<td align=center valign=top>
<table width=80% border="0" cellpadding="0" cellspacing="0" boder=1>
<tr height=5>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>第一列</td>
<td>第二列</td>
<td>第三列</td>
</tr>
<tr>
<td> 1</td>
<td> 2</td>
<td> 3</td>
</tr>
<tr>
<td> 10</td>
<td> 11</td>
<td> 12</td>
</tr>
<tr>
<td> 21</td>
<td> 22</td>
<td> 23</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table></td>
</tr>
</tbody>
</table>