滚动新闻的代码

   2011-05-24 DXB2B0
滚动新闻的代码

<MARQUEE onmouseover=this.stop() onmouseout=this.start()scrollAmount=4 width=400 height=150 direction="up"> 你要滚动的内容</MARQUEE>
把这段直接放在<td></td>中


scrollamount是滚动速度,数越大越快;direction是方向.
onmouseover=this.stop()是鼠标悬浮停止
onmouseout=this.start()是鼠标离开继续滚动
width和height分别是宽度和高度.根据需要自定义大小.
 
更多>同类资讯
推荐图文
推荐资讯
点击排行
网站首页  |  招贤纳士  |  关于我们  |  联系方式  |  使用协议  |  隐私政策  |  版权隐私  |  排名推广  |  广告服务  |  网站留言  |  帮助中心  |  网站地图  |  违规举报
粤ICP备14090068号