偏执老公宠上瘾完整版:htm文件里 怎么设置滚动窗口

来源:百度文库 编辑:高考问答 时间:2024/04/30 07:11:50
我最近在学网页制作,看到别人家网上有滚动栏,我想知道,这个滚动栏是怎么做出来。字幕从下往慢慢往上升的,循环滚的。
在Macromedia Dreamweaver8里面怎么设置,或者代码是如何编写的。
谢谢了

<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=gb2312">
</head>
<body>
<marquee behavior="scroll" direction="up" width="200" height="100" loop="-1" scrollamount="1" scrolldelay="1" style="font:12px;" onMouseOver="this.stop();" onMouseOut="this.start();">[滚动字幕]<br>当鼠标移动到滚动字幕上时则停止滚动</marquee>
</body>
</html>