求助,(ASP改用JS写)
ffjh 2003-05-30 11:44:25 文件如下
<div id=overdiv style="position: absolute; z-index: 1"> </div>
<script language="javascript" src="overlib.js"></script>
<table cellspacing="0" cellpadding="0" width="100%" border="0" height="15">
<%
online=application("hxf_c_onlinelist")
for i=1 to ubound(online) step 6
if application("hxf_c_disnewuser")=1 or online(i+1)<>lyy then
strzt=online(i+2)
ysxs="<font color=yellow>"
if left(strzt,1)="#" then
zt1=split(strzt,"#")
xb=trim(zt1(1))
hy=trim(zt1(2))
if xb="男" then ysxs="<font color=#00ffff>"
strzt=trim(zt1(3))
dfdq=trim(zt1(4))
end if
if instr(online(i+3),"管理")=0 then
ls="<font color=ffffff>"
else
ls="<font color=99ff00>"
end if
if dfdq=dq then
rens=rens+1
%>
<tr height="18"><td width="53"><a onmouseover="drs('<%=strzt%>'); return true;" onmouseout="nd(); return true;" href=javascript:parent.sw('[<%=online(i+1)%>]');><%=ysxs%><%=online(i+1)%></font></a></td>
<td width="12" ><%=hy%></td>
<td width="48" ><%=ls%><%=online(i+3)%></td></tr>
<%
end if
zongs=zongs+1
end if
next%>
帮我把上边的语句转换成js