?? 825text2.htm
字號:
<html>
<head>
<title>可調節速度的撞擊</title>
<style type="text/css">
<!--
body { font-family: "宋體"; font-size: 9pt; margin-top: 0px; margin-left: 0px; margin-right: 0px}
A { COLOR: black; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: none }
A:hover { COLOR: red; FONT-SIZE: 9pt; FONT-WEIGHT: 400; TEXT-DECORATION: underline }
a:active { font: 9pt "宋體"; cursor: hand; color: #FF0033 }
-->
</style>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
</head>
<body bgcolor="#fef4d9" onLoad="welcometext()">
<br>
<br>
<center><font color=red face="隸書" size=6>可調節速度的撞擊</font></center>
<br>
<center>
<table border=5 bordercolor=blue borderlight=green>
<tr><td align=center><font size=5 color=red face="Arial, Helvetica, sans-serif"><strong>下面為效果顯示區!</strong></font></td></tr>
<tr><td align=center><script LANGUAGE="JavaScript">
var speed=500;
var hellotext="1";
var thetext="";
var started=false;
var step=0;
var times=1;
function welcometext(){
times--;if(times==0){
if(started==false){started=true;
document.forms[0].message.value=hellotext;
setTimeout("anim()",1)}thetext=hellotext}}
function showformtext(txt){
thetext=txt;
setTimeout(welcometext());times++}
function anim(){step++;if(step==15){step=1}
if(step==1){document.forms[0].message.value='碰撞*____________|_____________碰撞'}
if(step==2){document.forms[0].message.value='碰撞_____________|____________*碰撞'}
if(step==3){document.forms[0].message.value='碰撞____*________|_____________碰撞'}
if(step==4){document.forms[0].message.value='碰撞_____________|________*____碰撞'}
if(step==5){document.forms[0].message.value='碰撞________*____|_____________碰撞'}
if(step==6){document.forms[0].message.value='碰撞_____________|____*________碰撞'}
if(step==7){document.forms[0].message.value='碰撞____________*|_____________碰撞'}
if(step==8){document.forms[0].message.value='碰撞_____________|*____________碰撞'}
if(step==9){document.forms[0].message.value='碰撞_____________|___*_________碰撞'}
if(step==10){document.forms[0].message.value='碰撞_________*___|_____________碰撞'}
if(step==11){document.forms[0].message.value='碰撞_____________|______*______碰撞'}
if(step==12){document.forms[0].message.value='碰撞______*______|_____________碰撞'}
if(step==13){document.forms[0].message.value='碰撞_____________|__________*__碰撞'}
if(step==14){document.forms[0].message.value='碰撞__*__________|_____________碰撞'}
if(step==15){document.forms[0].message.value='碰撞_____________|_____________碰撞'}
setTimeout("anim()",speed)}
function delay(){if(speed==500){speed=10}else{speed=500}}
</script>
<form><INPUT Type="text" Name="message" Size="34"><p>
<INPUT Type="button" Value="快速/減速" onClick="delay()"></form>
</td></tr>
</table></center>
<br>
<br>
<center>
<textarea name=source rows=12 cols=45 class=yk9>
腳本說明:
第一步:把如下代碼加入<body>區域中
<script LANGUAGE="JavaScript">
var speed=500;
var hellotext="1";
var thetext="";
var started=false;
var step=0;
var times=1;
function welcometext(){
times--;if(times==0){
if(started==false){started=true;
document.forms[0].message.value=hellotext;
setTimeout("anim()",1)}thetext=hellotext}}
function showformtext(txt){
thetext=txt;
setTimeout(welcometext());times++}
function anim(){step++;if(step==15){step=1}
if(step==1){document.forms[0].message.value='Ping-Pong*____________|_____________Ping-Pong'}
if(step==2){document.forms[0].message.value='Ping-Pong_____________|____________*Pign-Pong'}
if(step==3){document.forms[0].message.value='Ping-Pong____*________|_____________Ping-Pong'}
if(step==4){document.forms[0].message.value='Ping-Pong_____________|________*____Ping-Pong'}
if(step==5){document.forms[0].message.value='Ping-Pong________*____|_____________Ping-Pong'}
if(step==6){document.forms[0].message.value='Ping-Pong_____________|____*________Ping-Pong'}
if(step==7){document.forms[0].message.value='Ping-Pong____________*|_____________Ping-Pong'}
if(step==8){document.forms[0].message.value='Ping-Pong_____________|*____________Ping-Pong'}
if(step==9){document.forms[0].message.value='Ping-Pong_____________|___*_________Ping-Pong'}
if(step==10){document.forms[0].message.value='Ping-Pong_________*___|_____________Ping-Pong'}
if(step==11){document.forms[0].message.value='Ping-Pong_____________|______*______Ping-Pong'}
if(step==12){document.forms[0].message.value='Ping-Pong______*______|_____________Ping-Pong'}
if(step==13){document.forms[0].message.value='Ping-Pong_____________|__________*__Ping-Pong'}
if(step==14){document.forms[0].message.value='Ping-Pong__*__________|_____________Ping-Pong'}
if(step==15){document.forms[0].message.value='Ping-Pong_____________|_____________Ping-Pong'}
setTimeout("anim()",speed)}
function delay(){if(speed==500){speed=10}else{speed=500}}
</script>
<form><INPUT Type="text" Name="message" Size="44"><p>
<INPUT Type="button" Value="快速/減速" onClick="delay()"></form>
第二步:把如下代碼加入<body>區域中
<body bgcolor="#fef4d9" onLoad="welcometext()">
</textarea>
<SCRIPT LANGUAGE="JavaScript">
<!-- hide
function goHist(a)
{
history.go(a);
}
//-->
</script>
<FORM METHOD="post">
<INPUT TYPE="button" VALUE="返回" onClick="goHist(-1)" style="background-color: #8000FF; color: rgb(255,255,255)">
</form>
</center>
<br>
<br>
</body>
</html>
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -