华为hg8120c超级密码:用dreamweaver怎么编写文字滚动的源代码

来源:百度文库 编辑:中科新闻网 时间:2024/05/10 22:21:46

用<marquee loop(循环)输值
direction(方向)
behavive(次数)=“alternate"来回移动
= ”scroll"绕圈移动
=“slide"只移动一次
scrollamount(速度快)
scrolldelay(速度慢)
显示面积

<marquee direct="left" scrollamount="2" width="400">滚动内容</marquee>

向左滚,速度为2,宽度为400px

用<marquee>要滚动的内容</marquee>或用javascript编写