求ASP新闻文字滚动代码

来源:百度知道 编辑:UC知道 时间:2024/06/12 10:35:02
从数据库中调取文章标题,在首页上实现滚动

比较简单
把获取的数据库信息附加到<marquee>标签里面就可以了

比如

index.asp内容如下

<marquee scrollamount=1 direction=up height=40 onmouseover=this.stop(); onmouseout=this.start();><a href=./ target="_top"><center><!--#include file="news.asp" --></center></a></marquee>

news.asp就是调用的新闻标题

marquee ?