⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ensd.htm

📁 一款就阿javascrip打字练习程序
💻 HTM
📖 第 1 页 / 共 3 页
字号:
			case 2://wz.src=winimg+"r_wenzhang_m.gif";
					//break;
		}
	}
	if(imgpos==1){
		//英语/韩国/日语
		switch (imgN){
			case 0:entt.style.filter="gray()";
					break;
			case 1:hantt.style.filter="Gray()";
					break;
			case 2:ritt.style.filter="gray()";
					break;
			case 3://sutt.style.filter="gray()";
					break;
			case 4:helptt.style.filter="gray()";
					break;
		}
	}
	if(imgpos==2){
		//课程选择
		switch (imgN){
			case 0:kset.src=winimg+"r_by_select1.gif";
					break;
			case 1:pset.src=winimg+"r_by_restart1.gif";
					break;
			case 2:dallset.src=winimg+"r_by_stop1.gif";
					break;
		}
	}
	if(imgpos==3){
		switch(imgN){
			case 0:win_min.src=winimg+"win_min_move.gif";
					break;
			case 1:win_close.src=winimg+"win_close_move.gif";
					break;
		}
	}
	if(imgpos==4){
		kmenuclose.src=winimg+"win_close_move.gif";
	}
}
function themouseout(imgN,imgpos){
	var winimg="..\\img\\win\\ok\\";
	if(imgpos==0){
		//初级/高级/文章
		switch (imgN){
			case 0:jc.src=winimg+"r_jichu_n.gif";
					break;
			case 1:gj.src=winimg+"r_gaoji_n.gif";
					break;
			case 2://wz.src=winimg+"r_wenzhang_n.gif";
					//break;
		}
	}
	if(imgpos==1){
		//英语/韩国/日语
		switch (imgN){
			case 0:entt.style.filter="";
					break;
			case 1:hantt.style.filter="";
					break;
			case 2:ritt.style.filter="";
					break;
			case 3://sutt.style.filter="";
					break;
			case 4:helptt.style.filter="";
					break;
		}
	}
	if(imgpos==2){
		//课程选择
		switch (imgN){
			case 0:kset.src=winimg+"r_by_select.gif";
					break;
			case 1:pset.src=winimg+"r_by_restart.gif";
					break;
			case 2:dallset.src=winimg+"r_by_stop.gif";
					break;
		}
	
	}
	if(imgpos==3){
		switch(imgN){
			case 0:win_min.src=winimg+"win_min_no.gif";
					break;
			case 1:win_close.src=winimg+"win_close_no.gif";
					break;
		}
	}
	if(imgpos==4){
		kmenuclose.src=winimg+"win_close_no.gif";
	}
}
//移动窗口代码
var oldx=0,oldy=0,begin=false
function move1(){
oldx=event.x;oldy=event.y;begin=true;
}
function move2(){
if(begin==true)window.moveTo(window.screenLeft+event.x-oldx,window.screenTop+event.y-oldy);
}
function move3(){
begin=false;
}
function closettwin(){
	if(confirm("请按<<确认>>按钮离开.\n\n真的要退出吗?"))
		window.close();
	else
		window.moveTo(window.screenLeft+event.x-oldx,window.screenTop+event.y-oldy);
}
</script>
<link rel="stylesheet" href="../csjs/style.css" type="text/css">

</head>
<body bgcolor="#ffffff" text="#000000"  onload="initxt()" onkeydown="setf()" scroll=no onselectstart="return false" ondragstart="return false">
<OBJECT classid=clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11 id=ttwin_min 
type=application/x-oleobject><PARAM NAME="Width" VALUE="106"><PARAM NAME="Height" VALUE="53"><PARAM NAME="Command" VALUE="minimize"></OBJECT>  
<table width="782" border="1" cellspacing="0" cellpadding="0" height="529" bordercolor="#333366">
  <tr> 
    <td height="27" onmousedown=move1();setCapture() onmousemove=move2() width="780" colspan="2" onmouseup=move3();releaseCapture() style="COLOR: white; CURSOR: move" > 
      <table width="782" border="0" cellspacing="0" cellpadding="0" height="100%" >
        <tr> 
          <td width="140" background="../img/win/ok/1_title_back_1.gif" height="27"><IMG height=27 src="../img/win/ok/1_title_back_1.gif" width=140></td>
          <td width="542" background="../img/win/ok/0_title_back.gif" height="27"></td>
          <td width="33" background="../img/win/ok/0_title_back.gif" height="27"> 
            <IMG border=0 height=26 id=win_min onclick=ttwin_min.Click() onmousemove=themousemove(0,3) onmouseout=themouseout(0,3)  src="../img/win/ok/win_min_no.gif" style="COLOR: white; CURSOR: hand" width =33 ></td>
          <td width="33" background="../img/win/ok/0_title_back.gif" height="27"> 
            <IMG border=0 height=26 id=win_close onclick=closettwin() onmousemove=themousemove(1,3) onmouseout=themouseout(1,3)  src="../img/win/ok/win_close_no.gif" style="COLOR: white; CURSOR: hand" width=33 ></td>
          <td width="14" background="../img/win/ok/0_title_back.gif" height="27"></td>
        </tr>
      </table>
    </td>
  </tr>
  <tr> 
    <td height="371" width="140"> 
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="60"><a href="http://phtt.3room.com" target="_blank"><IMG border=0 height=60 src="../img/win/ok/l_down_title2.gif" width=140></a></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="300">
        <tr> 
          <td height="60"><A href="enjc.htm"><IMG border=0 class=mouse1 height=60 id=entt onmousemove=themousemove(0,1) onmouseout=themouseout(0,1) src="../img/win/ok/b_moveEN.gif" width=140></a></td>
        </tr>
        <tr> 
          <td height="60"><A href="../han/hanjc.htm"><IMG border=0 class=mouse1 height=60 id=hantt onmousemove=themousemove(1,1)  onmouseout=themouseout(1,1) src="../img/win/ok/b_moveHAN.gif" width=140></a></td>
        </tr>
        <tr> 
          <td height="60"><A href="../jp/jpjc.htm"><IMG border=0 class=mouse1 height=60 id=ritt onmousemove=themousemove(2,1)  onmouseout=themouseout(2,1) src="../img/win/ok/b_moveRI.gif" width=140></a></td>
        </tr>
        <tr> 
          <td height="60"><IMG height=60 id=sutt onmousemove=themousemove(3,1) onmouseout=themouseout(3,1) src="../img/win/ok/b_moveSU_d.gif"  width=140></td>
        </tr>
        <tr> 
          <td height="60"><A href="../help/help.htm"><IMG border=0 class=mouse1 height=60 id=helptt onmousemove=themousemove(4,1)  onmouseout=themouseout(4,1) src="../img/win/ok/b_moveHELP.gif" width=140></a></td>
        </tr>
      </table>
<script language="javascript" src="../csjs/play.js"></script>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="143" bgcolor="#29417b">
        <tr> 
          <td height="158"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="122">
              <tr>
                <td><IMG border=0 height=122 src="../img/win/ok/l_down_back2.gif" useMap=#Map2 width=140> 
                  <map name="Map2"> 
                    <area shape="RECT" coords="13,11,128,64" href="http://www.yb.jl.cn" target="_blank">
                    <area shape="RECT" coords="14,78,126,114" href="http://www.3room.com/bbs/list.asp?boardid=24" target="_blank">
                  </map>
                </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="36">
              <tr> 
                <td height="33"><IMG border=0 height=36 id=playbord src="../midi/img/midi_3.gif" useMap=#Map width=140></td>
              </tr>
            </table>
          </td>
        </tr>
      </table>
    </td>
    <td height="498" width="640"> 
      <table name="body_tb" width="640" border="0" cellspacing="0" cellpadding="0" height="498" bgcolor="#efebe7" align="left">
        <tr> 
          <td height="30" background="../img/win/ok/r_up_back.gif">
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
              <tr>
                <td width="160" height="30">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
                    <tr> 
                      <td width="60" class="t2"> 
                        <div align="right">时间:</div>
                      </td>
                      <td width="100" class="t1"> 
                        <div align="left"><a id=shijian></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
                <td width="160" height="30">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
                    <tr> 
                      <td width="60" class="t2"> 
                        <div align="right">进度:</div>
                      </td>
                      <td width="100" class="t1"> 
                        <div align="left"><a id=jindu></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
                <td width="160" height="30">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
                    <tr> 
                      <td width="60" class="t2"> 
                        <div align="right">正确率:</div>
                      </td>
                      <td width="100" class="t1"> 
                        <div align="left"><a id=zhengquelv></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
                <td width="160" height="30">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
                    <tr> 
                      <td width="60" class="t2"> 
                        <div align="right">速度:</div>
                      </td>
                      <td width="100" class="t1"> 
                        <div align="left"><a id=sudu></a></div>
                      </td>
                    </tr>
                  </table>
                </td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="30" background="../img/win/ok/r_down_back.gif"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">
              <tr> 
                <td width="22"> </td>
                <td width="264">
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="30">
                    <tr> 
                      <td width="78" class="ri_menu_d" height="26"> 
                        <div align="center">英语测试</div>
                      </td>
                      <td width="90" height="26" class="ri_menu_n"><A href="../han/hansd.htm"> 
                        韩语测试 </a></td>
                      <td width="97" height="26" class="ri_menu_n" ><A href="../jp/jpsd.htm"> 
                        日语测试 </a></td>
                    </tr>
                  </table>
                </td>
                <td width="68"></td>
                <td width="95"><IMG  class=mouse1 height=30  id=kset  onclick=showmenu(1)  onmousemove=themousemove(0,2) onmouseout=themouseout(0,2) src="../img/win/ok/r_by_select.gif" width=95></td>
                <td width="108"><IMG class=mouse1 height=30 id=pset  onclick=redoall(1)  onmousemove=themousemove(1,2) onmouseout=themouseout(1,2) src="../img/win/ok/r_by_restart.gif" width=108></td>
                <td width="83"><IMG class=mouse1 height=30 id=dallset  onclick=stopall() onmousemove=themousemove(2,2) onmouseout=themouseout(2,2) src="../img/win/ok/r_by_stop.gif" width=82></td>
              </tr>
            </table>
          </td>
        </tr>
        <tr> 
          <td height="458"> 
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="20">
              <tr> 
                <td height="23"></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="80">
              <tr> 
                <td width="20" height="81" rowspan="2"> </td>
                <td width="300" height="81" rowspan="2"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="10">
                    <tr> 
                      <td  width="32"><IMG height=10 src="../img/win/ok/text_l_top.gif" width=32></td>
                      <td  width="535"><IMG height=10 src="../img/win/ok/text_topbar.gif" width=535></td>
                      <td  width="33"><IMG height=10 src="../img/win/ok/text_r_top.gif" width=33></td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="60">
                    <tr> 
                      <td width="9"><IMG height=60 src="../img/win/ok/text_lbar.gif" width=17></td>
                      <td width="565"> 
                        <table width="565" border="0" cellspacing="0" cellpadding="0" height="60" bgcolor="#ffffff">
                          <tr> 
                            <td width="100%" height="30"> <span id="m0" style="FILTER: dropshadow(color='Gray',offX=1, offY=1); FONT-FAMILY: MS Sans Serif; FONT-SIZE: 20px; HEIGHT: 30px; LEFT: 0px; TOP: 10px; WIDTH: 215px" 
                             > 
                              12345678901234567890123456789012345678901234567890</span></td>
                          </tr>
                          <tr> 
                            <td height="30" width="100%"> 
                              <input name=t0 onkeyup="kup()" class="border1" value="asdfasdfasdf" size="40">
                            </td>
                          </tr>
                        </table>
                      </td>
                      <td width="9"><IMG height=60 src="../img/win/ok/text_rbar.gif" width=18></td>
                    </tr>
                  </table>
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="10">
                    <tr> 
                      <td width="32" ><IMG height=10 src="../img/win/ok/text_l_down.gif" width=32></td>
                      <td width="492" ><IMG height=10 src="../img/win/ok/text_dwonbar.gif" width=535></td>
                      <td width="33" ><IMG height=10 src="../img/win/ok/text_r_down.gif" width=33></td>
                    </tr>
                  </table>
                </td>
                <td width="20" height="81" rowspan="2"> </td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="5">
              <tr> 
                <td></td>
              </tr>
            </table>
            <table width="100%" border="0" cellspacing="0" cellpadding="0" height="80">
              <tr> 
                <td width="20" height="80" rowspan="2"> </td>
                <td width="300" height="80" rowspan="2"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="0" height="10">
                    <tr> 
                      <td  width="32"><IMG height=10 src="../img/win/ok/text_l_top.gif" width=32></td>
                      <td  width="535"><IMG height=10 src="../img/win/ok/text_topbar.gif" width=535></td>
                      <td  width="33"><IMG height=10 src="../img/win/ok/text_r_top.gif" width=33></td>
                    </tr>
                  </table>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -