<html>
<head>
<title>:::::::.....出差信息.....:::::</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/style1.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
function ChBgColor(obj)
{
obj.style.bgColor = "#ffffff";
document.firstpage.style.bgColor = "#aabbcc";
document.bgColor = "#aabbcc";
}</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head><body bgcolor="#A0A0A0">
<br> <table width="94%" border="0" class="littlegray">
<tr align="center" bgcolor="#CDCDCD" class="littlegray"> <td width="9%">姓名</td>
<td width="15%">维护处</td>
<td width="10%">目的地</td>
<td width="26%">任务</td>
<td width="10%">出发日期</td>
<td width="10%">预计天数</td>
<td width="20%"> </td>
</tr>
<%do while not rs.eof%>
<tr align="center" bgColor = "#FFFFFF" onMouseOut="this.bgColor='#FFFFFF'" onMouseMove="this.bgColor='#33CC00'">
<td height="22"> <%=rs("name")%></td>
<td height="22"> <%=rs("filiale")%></td>
<td height="22"> <%=rs("destination")%></td>
<td height="22"> <%=rs("task")%></td>
<td height="22"> <%=rs("leavedate")%></td>
<td height="22"> <%=rs("intenddays")%></td>
<td height="22"><input name="Submit2" type="button" class="input" onClick="document.all.Layer1.style.visibility = 'visible'" value="详细信息"> //----------------------------------------------
<div id="Layer1" style="position:absolute; left:687px; top:171px; width:105px; height:173px; z-index:1; background-color: #FF9900; layer-background-color: #FF9900; border: 1px none #000000; visibility: hidden;">hell</div>
//------------------------------------------------------------------</td>
</tr>
<%rs.movenext
loop
%>
</table>
</form>
</tr>
</table></body>
</html>应该是document.all.Layer1
<head>
<title>:::::::.....出差信息.....:::::</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/style1.css" rel="stylesheet" type="text/css">
<script language="JavaScript">
function ChBgColor(obj)
{
obj.style.bgColor = "#ffffff";
document.firstpage.style.bgColor = "#aabbcc";
document.bgColor = "#aabbcc";
}</script>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
</script>
</head><body bgcolor="#A0A0A0">
<br> <table width="94%" border="0" class="littlegray">
<tr align="center" bgcolor="#CDCDCD" class="littlegray"> <td width="9%">姓名</td>
<td width="15%">维护处</td>
<td width="10%">目的地</td>
<td width="26%">任务</td>
<td width="10%">出发日期</td>
<td width="10%">预计天数</td>
<td width="20%"> </td>
</tr>
<%do while not rs.eof%>
<tr align="center" bgColor = "#FFFFFF" onMouseOut="this.bgColor='#FFFFFF'" onMouseMove="this.bgColor='#33CC00'">
<td height="22"> <%=rs("name")%></td>
<td height="22"> <%=rs("filiale")%></td>
<td height="22"> <%=rs("destination")%></td>
<td height="22"> <%=rs("task")%></td>
<td height="22"> <%=rs("leavedate")%></td>
<td height="22"> <%=rs("intenddays")%></td>
<td height="22"><input name="Submit2" type="button" class="input" onClick="document.all.Layer1.style.visibility = 'visible'" value="详细信息"> //----------------------------------------------
<div id="Layer1" style="position:absolute; left:687px; top:171px; width:105px; height:173px; z-index:1; background-color: #FF9900; layer-background-color: #FF9900; border: 1px none #000000; visibility: hidden;">hell</div>
//------------------------------------------------------------------</td>
</tr>
<%rs.movenext
loop
%>
</table>
</form>
</tr>
</table></body>
</html>应该是document.all.Layer1
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货