marquee07.html
来自「java脚本即用特效源码从入门到精通帮你渡过难关」· HTML 代码 · 共 41 行
HTML
41 行
<html>
<head>
<title>状态栏跑马灯5</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var Message="谢谢使用本特效!";
var place=1;
function scrollIn() {
window.status=Message.substring(0, place);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollOut()",300);
} else {
place++;
window.setTimeout("scrollIn()",50);
}
}
function scrollOut() {
window.status=Message.substring(place, Message.length);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollIn()", 100);
} else {
place++;
window.setTimeout("scrollOut()", 50);
}
}
// End -->
</SCRIPT>
</head>
<BODY onLoad="scrollIn()" topmargin="0">
<br>
<form>
<div align="center"> <font size="5" color="#FF0000">状态栏跑马灯5</font>
<hr noshade width="70%">
</div>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?