ASP问题,请高手帮忙指点.

来源:百度知道 编辑:UC知道 时间:2024/06/26 01:00:07
如何设置成向上滚动,鼠标在上就停止.鼠标移走就又开始滚动.
问题1:假如我有40个会员,要滚成全部,该如何设置?
问题2:我自己设过,但每个会员只在自己相应的格子滚动.怎样才能让全部往上滚动?
问题3:因为是初学者,问题也说的很笼统,希望帮帮忙.
sql="select top 10 * from SMT_yp where SMT_key=3 and SMT_key1=1 and SMT_vip=2 order by SMT_tjdate desc"
rs.open sql,conn,1,1
do while not rs.eof
goname=rs("SMT_user")
goid=rs("SMT_id")
coname=trim(rs("SMT_coname"))%>
<!--#include file="dns/dns.asp"-->
<tr>
<td height=22> · <a href=<%=usertwourl%> target=_blank><%=LeftT(coname,34)%></a> <img src="img/vip.gif" title="会员"></td>
下面的还是不行噢.我试过了..
谁能帮帮我哈..
急.. 在线等..

如果只是滚动,简单的MARQUEE就可以实现了
要添加其它功能,就要写脚本了.
改为:
<%
sql="select top 10 * from SMT_yp where SMT_key=3 and SMT_key1=1 and SMT_vip=2 order by SMT_tjdate desc"
rs.open sql,conn,1,1
goname=rs("SMT_user")
goid=rs("SMT_id")
coname=trim(rs("SMT_coname"))%>
<!--#include file="dns/dns.asp"-->
<table>
<%do while not rs.eof and not rs.bof%>
<marquee onMouseover="this.stop" onMouseout="this.start">
<tr>
<td height=22> · <a href=<%=usertwourl%> target=_blank><%=LeftT(coname,34)%></a> <img src="img/vip.gif" title="会员"></td>
<tr>
</marquee>
<%
rs.movenext
loop
%>
</table>