?? 64.html
字號:
<html>
<title>狀態欄中跑馬燈效果</title>
<head>
<SCRIPT LANGUAGE="JavaScript">
function scroll(seed){
var msg="^_^特別建議您使用1024*768的分辨率瀏覽"; //設置顯示內容
var out = "";
var c = 1;
if (seed > 100) {
seed--;
var cmd="scroll(" + seed + ")";
timerTwo=window.setTimeout(cmd,100);}
else if (seed <= 100 && seed > 0) {
for (c=0 ; c < seed ; c++) {
out+=" ";}
out+=msg;
seed--;
var cmd="scroll(" +seed+ ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100);
}
else if (seed <= 0) {
if (seed < msg.length) {
out+=msg.substring(-seed,msg.length);
seed--;
var cmd="scroll(" +seed+ ")";
window.status=out;
timerTwo=window.setTimeout(cmd,100);}
else {
window.status=" ";
timerTwo=window.setTimeout("scroll(100)",7);
}}}
timerONE=window.setTimeout('scroll(100)',50);
</SCRIPT>
</head>
<body>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -