81,092
社区成员
发帖
与我相关
我的任务
分享
<body>
<div style="height: 500px; width:800px; ">
<table id="table1" border="10px" bgcolor="pink" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<% for(int i=0;i<4;i++)
{
String str = "javascript ";
%>
<th>
<%=(str + i ) %>
</th>
<%
}
%>
</tr>
<% for(int i=0;i<4;i++)
{
String st = "javascriptvaluesdghjlhdjhhh kkkkkkksssssssssssssssssssssssss";
%>
<tr>
<% for(int j = 0;j<4;j++)
{
%>
<td width="10px" height="1px" >
<%=(st + i + j ) %>
</td>
<% } %>
</tr>
<%
}
%>
</table>
</div>
<body>
<div style="height: 500px; width:800px; ">
<table id="table1" border="10px" bgcolor="pink" border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<% for(int i=0;i<4;i++)
{
String str = "javascript ";
%>
<th>
<%=(str + i ) %>
</th>
<%
}
%>
</tr>
<% for(int i=0;i<4;i++)
{
String st = "javascriptvaluesdghjlhdjhhh kkkkkkksssssssssssssssssssssssss";
%>
<tr>
<% for(int j = 0;j<4;j++)
{
%>
<td width="10px" height="1px" overflow="hidden;" >
<%=(st + i + j ) %>
</td>
<% } %>
</tr>
<%
}
%>
</table>
</div>
求大神指点,鼠标点到表格上显示隐藏部分的校验