📄 825text2.htm
字号:
<html>
<!-- Mirrored from www.yesky.com/imagesnew/software/jscript/825text2.htm by HTTrack Website Copier/3.x [XR&CO'2007], Tue, 15 Apr 2008 09:00:49 GMT -->
<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 onLoad="welcometext()">
<br>
<br>
<center><font color=red face="隶书" size=6>可调节速度的撞击</font></center>
<br>
<center>
<table border=5 bordercolor=black 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 onLoad="welcometext()">
</textarea>
<SCRIPT LANGUAGE="JavaScript">
<!-- hide
function goHist(a)
{
history.go(a);
}
//-->
</script>
<FORM METHOD="post">
<INPUT TYPE="button" VALUE="返回" onClick="goHist(-1)" >
</form>
</center>
<br>
<br>
</body>
<!-- Mirrored from www.yesky.com/imagesnew/software/jscript/825text2.htm by HTTrack Website Copier/3.x [XR&CO'2007], Tue, 15 Apr 2008 09:00:49 GMT -->
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -