求多张图片并排向上翻滚的代码?

来源:百度知道 编辑:UC知道 时间:2024/06/03 08:14:27

<marquee behavior=scroll direction=up width=400 height=40 scrollamount=5 scrolldelay=2 onclick=this.start() onmouseover=this.stop() onmouseout=this.start()>
<%
set rs=server.createobject("ADODB.Recordset")
sql="select * from 表"
rs.open sql,conn,3,3
do while not rs.eof
response.write rs("img")&"<br>" img为数据库中要显示向上滚动字段名称
rs.movenext
if rs.eof then exit do
loop
%>
</marquee>