上下左右滚动文字代码
上下左右滚动文字代码 字滚动代码 1、来回滚动 (marquee behavior=" alternate ")(font color=red)文字来回滚动 (/marquee ) 实际效果: 文字来回滚动 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />2、向一边滚动 (marquee)(font color=#颜色代码)文字向一边滚动 (/marquee ) 实际效果: 文字向一边滚动 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 3、走走停停 (marquee scrolldelay=500 scrollamount=100)文字走走停停 (/marquee) 实际效果: 文字走走停停 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 4、只走几趟(以3趟为例) (marquee loop=3 width=50% behavior=scroll )文字只走3趟 (/marquee) 实际效果: 文字只走3趟 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 5、选定滚动方向 (marquee direction=left )文字自右向左移 (/marquee) 实际效果: 文字自右向左移 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (marquee direction=right )文字自左向右移 (/marquee) 实际效果: 文字自左向右移~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee scrollamount=8> 文字很快滚。 </marquee> 文字很快滚。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee scrollamount=1> 文字很慢滚。 </marquee> 文字很慢滚。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee .stop() .start() > 鼠标放上去停止滚动,移开继续滚动。 </marquee> 鼠标放上去停止滚动,移开继续滚动。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee direction=left scrollamount=3> 文字向左滚。 </marquee>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee direction=left scrollamount=3> 文字向左滚。 </marquee> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee direction=left scrollamount=3> 文字向左滚。 </marquee> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee direction=left scrollamount=3> 文字向左滚。 </marquee> 文字向左滚。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee direction=right scrollamount=3> 文字向右滚。 </marquee> 文字向右滚。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee direction=up scrollamount=3> 文字向上滚。 </marquee> 文字向上滚。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee direction=down scrollamount=3> 文字向下滚。 </marquee> 文字向下滚。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee scrollamount=3 behavior=alternate> 文字来回滚。 </marquee> 文字来回滚。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee scrolldelay=500 scrollamount=100>走一步,停一停!</marquee> 走一步,停一停! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <marquee bgcolor=aaaaee>设置底色的文字</marquee> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 文字向上移动代码: <*marquee scrollamount=2 direction=up><*font color=#00000 size=4>欢迎您<*/font><*/marquee> 欢迎您 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 文字向下移动代码: <*marquee scrollamount=2 direction=down><*font color=#02595 size=4>欢迎您<*/font><*/marquee> 欢迎您 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 文字向左移动代码: <*marquee scrollamount=2 direction=LEFT><*font color=#00000 size=4>欢迎您<*/font><*/marquee> 欢迎您 文字向右移动代码: <*marquee scrollamount=2 direction=RIGHT><*font color=#00000 size=4>欢迎您<*/font><*/marquee>
(未经作者同意,不得用于任何纸媒体,网络转载请注明作者和出处!) |
评论