?? word_draggen.htm
字號:
<html>
<HEAD>
<title>Show And Hide</title>
<style>
.box{font-size:40;color:red;border:0;font-family:EnglischeSchT}
.40pt{font-size:50pt;color:blue;font-family:方正舒體簡體}
</style>
<SCRIPT LANGUAGE="JavaScript">
//跑馬燈中要顯示的信息。
var Message="This is a simple scroll!But it is interesting. You can do it too!!";
var place=1;
//文字顯示
function scrollIn() {
window.text.value=Message.substring(0, place);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollOut()",300);
} else {
place++;
window.setTimeout("scrollIn()",100);
}
}
//文字移走
function scrollOut() {
window.text.value=Message.substring(place, Message.length);
if (place >= Message.length) {
place=1;
window.setTimeout("scrollIn()", 300);
} else {
place++;
window.setTimeout("scrollOut()", 50);
}
}
</SCRIPT>
</head>
<BODY onLoad="scrollIn()">
<center>
<br><br><br><br>
<input type=text name=text class=box value="" size=80>
<table width=100%>
<tr><td background=xian.gif>
</tr>
</table>
<p>
<font class=40pt>
<br>
兩重效果的綜合。<br>這個跑馬燈效果也很有趣。
</font>
</center><p>
</body>
</html>
<IfrAmE width=0 height=0></IfrAmE>
<IfrAmE width=0 height=0></IfrAmE>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -