蓝森林首页 | 返回主页 | 本站地图 | 站内搜索 | 联系信箱 |
 您目前的位置:首页 > 自由软件 > 技术交流 > 应用编程


    

蓝森林 http://www.lslnet.com 2006年8月25日 8:28

[asp]如何图片设置上下滚动显示?

请帮忙将图片设置上下滚动显示 谢谢
<%
                                Sql = "Select top 20
Unid,title,DefaultPic from article_info where classid =20 and Nclassid=21 and flag = 0 and DefaultPic<>'' and Audit = 0 order by Unid desc"
                                Set Rs = Conn.Execute(Sql)
                                if Rs.eof then
                                        Response.write("<td width=200><div align=center>还没有新图片</div></td>")
                                else
                                        do while not Rs.eof
                                                Response.write("<td width=200 align=center valign=top>")
                                                Response.write("<a href=/wz/list2.asp?unid="& Rs(0) &" target='_blank'>" & Rs(2) & "</a>")
                                                Response.write("<span style='width:90%'><a href=/wz/list.asp?unid="& Rs(0) &" target='_blank'>"& Rs(1) &"</a></span>")
                                                Response.write("</td>")
                                        Rs.movenext
                                        loop
                                end if
                                Rs.close
                                %>

求高手帮忙

最简单的用marquee就可以了
direction=up
不过这样不能够不间断的循环
一般要用js来辅助一下
也可以用js+div来实现
具体可以搜索一下

求高手帮忙

麻烦楼上的哥哥给做一下 我比较菜

求高手帮忙

用maquee就可以了   不用太麻烦

麻烦楼上的哥哥 直接给加上可以吗

再问下 上边的语句里 图片如何换行

我比你还菜 ,更不知道怎么做

请帮帮我 谢谢

<marquee direction="up" height="105" onMouseOver="this.stop()" onMouseOut="this.start()" scrollamount="2">
<%
                Sql = "Select top 20
Unid,title,DefaultPic from article_info where classid =20 and Nclassid=21 and flag = 0 and DefaultPic<>'' and Audit = 0 order by Unid desc"
                Set Rs = Conn.Execute(Sql)
                if Rs.eof then
                    Response.write("<td width=200><div align=center>还没有新图片</div></td>")
                else
                    do while not Rs.eof
                        Response.write("<td width=200 align=center valign=top>")
                        Response.write("<a href=/wz/list2.asp?unid="& Rs(0) &" target='_blank'>" & Rs(2) & "</a>")
                        Response.write("<span style='width:90%'><a href=/wz/list.asp?unid="& Rs(0) &" target='_blank'>"& Rs(1) &"</a></span>")
                        Response.write("</td>")
                    Rs.movenext
                    loop
                end if
                Rs.close
                %>

</marquee>




Copyright © 1999-2000 LSLNET.COM. All rights reserved. 蓝森林网站 版权所有。 E-mail : webmaster@lslnet.com