<SCRIPT language=javascript>
function Point(iX, iY){
this.x = iX;
this.y = iY;
}
function fGetXY(aTag){
var oTmp = aTag;
var pt = new Point(150,0);
do {
pt.x += oTmp.offsetLeft;
pt.y += oTmp.offsetTop;
oTmp = oTmp.offsetParent; BODY");
return pt;
}
function showLayer(oObj,ObjName){
Obj=eval('document.all.'+ObjName);
var p=fGetXY(oObj);
Obj.style.display='';
Obj.style.left=p.x-75; Obj.style.top=p.y;
}
function hiddenLayer(ObjName){
Obj=eval('document.all.'+ObjName);
Obj.style.display='none'; 这就是 205 行
}
</SCRIPT>
<tr>
<td onmouseover="showLayer(this,'div_div1')" onmouseout="hiddenLayer('div_div1')" height="30" valign="bottom">
<font color="#FFFFFF"> <% response.Write(c_name) %></font>
<div id="div_div1" style="DISPLAY: none; FONT-SIZE: 12px; Z-INDEX: 99; WIDTH: 100px; POSITION: absolute; HEIGHT: 115px" align=right>
<table borderColor=#ffffff cellSpacing=1 cellPadding=0 width=100 bgColor=#000000 border=0>
<%
do while not rs1.eof
%>
<tr>
<td noWrap align=middle width="100%" bgColor=#ffffff height=25>
<%=rs1("c_types")%>
</td>
</tr>
<%
rs1.movenext
loop
%>
</table>
</div>
</td>
</tr>
老是提示
行: 205
字符: 5
错误: 'Objs.style' 为空或不是对象
代码: 0
[此贴子已经被作者于2007-5-10 15:42:09编辑过]