分类问题没有分成功
<div class="one" id="slidingBlock"><script language="javascript">
function switchmodTag(modtag,modcontent,modk) {
for(i=1; i <4; i++) {
if (i==modk) {
document.getElementById(modtag+i).className="menuOn";document.getElementById(modcontent+i).className="slidingList";}
else {
document.getElementById(modtag+i).className="menuNo";document.getElementById(modcontent+i).className="slidingList_none";}
}
}
</script>
<h4 class="menuOn" id="mod1" onmouseover="switchmodTag('mod','slidingList','1');this.blur();">
公司新闻</h4>
<h4 align="left" class="menuNo" id="mod2" onmouseover="switchmodTag('mod','slidingList','2');this.blur();">
IT行业</h4>
<div class="slidingList" id="slidingList1" align="left">
<% Set rs = Server.CreateObject("ADODB.Recordset")
sql="select top 2 * from news_class order by ID desc "
rs.open sql,conn,1,1
while not rs.eof
set rs1= Server.CreateObject("adodb.recordset")
sqll ="select top 5 * from news where newclass='"&rs("id")&"'order by id desc"
rs1.open sqll,conn,1,1
while not rs1.eof
%>
<ul>
<li class="one"><a href="new.asp?id=<%=rs1("id")%>"><%=left(trim(rs1("title")),18)%></a></li></ul>
</div>
<div class="slidingList_none" id="slidingList2">
<ul>
<li class="two"><a href="new.asp?id=<%=rs1("id")%>"><%=left(Trim(rs1("title")),18)%></a></li>
<%
rs1.movenext
wend
rs1.close
set rs1=nothing
rs.movenext
wend
rs.close
set rs=nothing
%>
</ul>
</div>
</div>
怎么没有分成功类