1. 文本向上滚动代码格式:<marquee Over=this.stop() Out=this.start() scrollamount=1 scrolldelay=77 direction=up width=270 height=77>想要打的文字</marquee> |
2. 文本向左滚动滚动代码格式:<marquee direction="" scrollamount="5" onmouseover=stop() onmouseout=start()>
<span class="STYLE29 STYLE8">想要打的文字</span></marquee> |
|
|
相关说明:
<marquee>我會動!</marquee>
<marquee direction=left>我從右向左移動</marquee>
<marquee direction=right>我從左向右移動</marquee>
<marquee direction=down>我從上向下移動</marquee>
<marquee direction=up>我從下向上移動</marquee>
<marquee behavior=scroll>我可以繞圈移動</marquee><p>
<marquee behavior=slide>我移動一次</marquee><p>
<marquee behavior=alternate>來回跑</marquee>
<marquee Loop=3>我盾環移動三次</marquee>
<marquee scrollamount=30>我跑得很快!</marquee>
<marquee dcrolldelay=500 scrollamount=100>我移會,停一停</marquee>
scrollamount=速度(值取正整数。数值越大,速度越快。)
direction=方向 width=270 height=77 定位宽度和高度,为了更好的控制范围。
只要把上面的想要打的文字换成你想要的文字, 或上面 >蓝色字体<换成你想要的文字。
根据自己使用情况可以添加或减少相应内容,简单效果按相关说明下的移动就能实现。
|