为什么这样循环后,是一排1个,就是说有几张图片就有几排在滚动.
我想要的是所有的图片在一排滚动
想不通哪里错了~
<table width="784" height="202" border="1" align="center">
<tr>
<td width="774" height="196">
<marquee scrollamount=10 scrollamount=10 valign=middle behavior="scroll">
<table width="149" border="1">
<%
sql="select top 100 * from Product order by ID desc"
rs.open sql,conn,1,1
do while not rs.eof
%>
<tr>
<td width="139" height="130"><a href="xlcp_view.asp?ID="<%=rs("ID")%><%=vv%>><img src="UpLoadFile/<%=rs("Ylt")%>" width="120" height="120" border="0"></a></td>
</tr>
<tr>
<td height="46"><a href="xlcp_view.asp?ID="<%=rs("ID")%><%=vv%>><%=rs("NamesV")%></a></td>
</tr>
<%
rs.movenext
loop
rs.close
%>
</table></marquee>
</td>
</tr>
</table>