<script type="text/javascript">
function g(o) {return document.getElementById(o);}
function Li(n) {for(var i=1;i<2;i++){if(n==i){g("2_"+i).style.display="block";}else{g("2_"+i).style.display="none";}}}
</script>
<%
dim sql,rs
sql="select * from content where user='zhuzhu' and BigClassName='心情日志'"
set rs=server.CreateObject("adodb.recordset")
rs.open sql,conn,1,1
%>
<TD class=blog align=middle>
<div id="1_1">
<a href="#" onmouseover="Li(1);">心情日志</a>
</div>
</TD>
<div id="2_1" style="display:none;">
<%
if not rs.eof then
do while not rs.eof
%>
<%=rs("SmallClassName")%>|
<%
rs.movenext
loop
end if%>
</div>
我按照你的方法改了一下不行呀