网页教学网 网页教学网-专业的网页教学站点 网页教学网的资源向你见证
12.style属性设置字幕内容的样式。实例中设置字幕文字大小,输入了“font:12px;”。

13.loop属性设置字幕内容滚动次数,默认值为无限。“-1”也为无限。

loop值为-1
loop值为5
一套向上滚动字幕的代码:
<marquee behavior="scroll" direction="up" width="200" height="150" loop="-1" scrollamount="1" scrolldelay="1" style="font:12px;" onMouseOver="this.stop();" onMouseOut="this.start();">滚动字幕内容</marquee>

上一页 [1] [2] |