提供点小小的一点代码
<script language=javascript>function disp_m0(){
m1.style.display = "none";
m2.style.display = "none";
m3.style.display = "none";
m4.style.display = "none";
m5.style.display = "none";
m6.style.display = "none";
m7.style.display = "none";
}
function disp_m1()
{
disp_m0();
m1.style.display = "";
}
function disp_m2()
{
disp_m0();
m2.style.display = "";
}
function disp_m3()
{
disp_m0();
m3.style.display = "";
}
function disp_m4()
{
disp_m0();
m4.style.display = "";
}
function disp_m5()
{
disp_m0();
m5.style.display = "";
}
function disp_m6()
{
disp_m0();
m6.style.display = "";
}
function disp_m7()
{
disp_m0();
m7.style.display = "";
}
disp_m0();
</script>
上面有个小表格,.你按一个表格,表格小的分表格就打开..
其他就关闭.