滚动图片代码求助

来源:百度知道 编辑:UC知道 时间:2024/05/23 12:35:00
谁能把下面这个平铺图片的代码改写成滚动图片代码?

<table border="0" cellpadding="0" cellspacing="0">
<!--News.bak-->
<%
for pi=1 to 10
sqltext="select * from product where nomflag='1' and state='1' order by -updatetime desc"
rs.Open sqltext,cn,1,1
pagesize=4
rs.PageSize=pagesize
if rs.PageCount>0 then rs.AbsolutePage=pI
pagecount=rs.PageCount
i=1
%>
<tr>
<td valign="top"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<%do while not rs.EOF and i<=pagesize %>
<td valign="top"><table width="145.5" border=0 cellpadding=0 cellspacing=0>
<tr align=left

使用marquee可以实现,其中direction="up"表示方向,可改成left,right,down,up.

<marquee direction="up" height="200" scrollamount="2" onMouseOver="this.stop()" onMouseOut="this.start()">

<table border="0" cellpadding="0" cellspacing="0">
<!--News.bak-->
<%
for pi=1 to 10
sqltext="select * from product where nomflag='1' and state='1' order by -updatetime desc"
rs.Open sqltext,cn,1,1
pagesize=4
rs.PageSize=pagesize
if rs.PageCount>0 then rs.AbsolutePage=pI
pagecount=rs.PageCount
i=1
%>
<tr>
<td valign="top"><table border="0" cellpadding="0" cellspacing="0">
<tr>
<%do while not rs.EOF and i<=pagesize %>
<td valign="top"><table width="145.5" border=0 c