用dreamweaver网页制作软件如何在状态栏上设置滚动字幕?

来源:百度知道 编辑:UC知道 时间:2024/05/24 17:41:42

<html>
<head>
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_displayStatusMsg(msgStr) { //v1.0
status=msgStr;
document.MM_returnValue = true;
}
//-->
</script>
</head>
<body onload="MM_displayStatusMsg('来回滚动');return document.MM_returnValue">
<span>
<marquee behavior="scroll" direction="left" height="20" width="300" bgcolor="#858B6D" scrollamount="50" scrolldelay="500" loop="-1" >
<span>滚动字幕 很好用的</span>
</marquee>
</span>
</body>
</html>

marquee卷动 direction 方向 behavior 卷动模式 bgcolor设定背景颜色 height设定高度 width设定宽度 loop卷动次数 scrollamount设定卷动距离 scrolldelay设定卷动时间
在behavior=""中,slide是滑动的意思,不会重复

【操作方法】 先用Dr