.net 滚动公告 用什么控件

来源:百度知道 编辑:UC知道 时间:2024/05/25 18:22:13
用.net05 开发网站 要实现最新的公告 以滚动的方式实现 应该用什么控件啊? 需要下载什么第三方控件吗?如果需要 高手推荐个比较好的啊
公告要从数据库中读取

用HTML标记中的跑马灯<marquee>,在代码也中把要滚动的信息用它框来,如"
<marquee behavior="scroll" bgcolor="green" direction="up" height="250px" width="200px" onmouseout="this.start()"
onmouseover="this.stop()" scrolldelay="100ms" >

最新信息……
</marquee>

-------------------------------------------
代码解释

direction="up"// 滚动方向
onmouseout="this.start()" 没有鼠标时,滚动
onmouseover="this.stop()"有鼠标,停

scrolldelay="100ms 滚动速率

你下一个JAVASCRIPT滚动程序,自己改一改,用就行了.

开发网站,你不懂点JAVASRCIPT是不行的.