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

📄 help.htm

📁 一款就阿javascrip打字练习程序
💻 HTM
📖 第 1 页 / 共 3 页
字号:
		endmenu.style.visibility='';
		endmenu.style.top=160;
		endmenu.style.left=180;
	stopClock();
	initendmenu();
}
t_key=1;
}
//初始化变量
 function initvar(){
	curline=0;
	curlen=0;		
	notL=0;
	notI=0;
	okL=0;
	okI=0;
	mtime=0;
	timego=0;
	relen=1;
}
//初始化文章
function initxt(){
	//确定文件名
	strfile=txtPath+fileNum+".htm";
	//打开strfile文件
	document.getElementById("itxt").src=strfile;
	//读取文件的队列;
	var strall;
	//打开strfile文件
		
		//strall=document.getElementById("itxt").document.all(mtxt).innerText;
		strall=parent.itxt.mtxt.innerText;
		strlen=strall.length;//字数;
		sarray=strall.split("**");
		strline=sarray.length;//行数;
	initvar();
	iniThisPage();
}
//选择一片文章
function okselect(){
	var objmenu=menuform.myselect;
	fileNum=objmenu[objmenu.selectedIndex].value;
	//初始化文章	
	initxt();
	pmenu.style.visibility="hidden";
	pmenu_back.style.visibility="hidden";
	t_key=0;
}
//取消选择
function cancelselect(){
	pmenu.style.visibility="hidden";
	pmenu_back.style.visibility="hidden";
	t_key=0;
}
//
function selectitem(){
	var objmenu=menuform.myselect;
	var i=objmenu[objmenu.selectedIndex].value;
	strfile=txtPath+i+".htm";
	document.getElementById("itxt").src=strfile;
}
function themousemove(imgN,imgpos){
	var winimg="..\\img\\win\\ok\\";
	if(imgpos==0){
		//初级/高级/文章
		switch (imgN){
			case 0:jc.src=winimg+"r_jichu_m.gif";
					break;
			case 1:gj.src=winimg+"r_gaoji_m.gif";
					break;
			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" scroll=no onselectstart="return false" ondragstart="return false">
<object id=ttwin_min type='application/x-oleobject' classid='clsid:adb880a6-d8ff-11cf-9377-00aa003b7a11'><param name='Command' value='minimize'></object>  
<table width="782" border="1" cellspacing="0" cellpadding="0" height="529" bordercolor="#333366">
  <tr> 
    <td height="27" width="780" colspan="2" onmouseup=move3();releaseCapture() onmousemove=move2() onmousedown=move1();setCapture() style="CURSOR: move; COLOR: white" > 
      <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 src="../img/win/ok/1_title_back_1.gif" width="140" height="27"></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 id="win_min" border="0" src="../img/win/ok/win_min_no.gif" width="33" height="26" onmousemove="themousemove(0,3)"  onmouseout="themouseout(0,3)" onclick=ttwin_min.Click() style="CURSOR: hand; COLOR: white" ></td>
          <td width="33" background="../img/win/ok/0_title_back.gif" height="27"> 
            <img id="win_close" border="0" src="../img/win/ok/win_close_no.gif" width="33" height="26" onmousemove="themousemove(1,3)"  onmouseout="themouseout(1,3)" onclick="closettwin()" style="CURSOR: hand; COLOR: white"></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 src="../img/win/ok/l_down_title2.gif" width="140" height="60" border="0"></a></td>
        </tr>
      </table>
      <table width="100%" border="0" cellspacing="0" cellpadding="0" height="300">
        <tr> 
          <td height="60"><a href="../en/enjc.htm"><img src="../img/win/ok/b_moveEN.gif" width="140" height="60" id="entt" onmousemove="themousemove(0,1)" onmouseout="themouseout(0,1)" class="mouse1" border="0"></a></td>
        </tr>
        <tr> 
          <td height="60"><a href="../han/hanjc.htm"><img src="../img/win/ok/b_moveHAN.gif" width="140" height="60" id="hantt" onMouseMove="themousemove(1,1)"  onmouseout="themouseout(1,1)" class="mouse1" border="0"></a></td>
        </tr>
        <tr> 
          <td height="60"><a href="../jp/jpjc.htm"><img src="../img/win/ok/b_moveRI.gif" width="140" height="60" id="ritt" onmousemove="themousemove(2,1)"  onmouseout="themouseout(2,1)" class="mouse1" border="0"></a></td>
        </tr>
        <tr> 
          <td height="60"><a href="../en/ensd.htm"><img src="../img/win/ok/b_moveSU.gif" width="140" height="60" id="sutt" onmousemove="themousemove(3,1)"  onmouseout="themouseout(3,1)" border="0" class="mouse1"></a></td>
        </tr>
        <tr> 
          <td height="60"><img src="../img/win/ok/b_moveHELP_d.gif" width="140" height="60" id="helptt" onmousemove="themousemove(4,1)"  onmouseout="themouseout(4,1)"></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 src="../img/win/ok/l_down_back2.gif" width="140" height="122" border="0" usemap="#Map2"> 
                  <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 id=playbord src="../midi/img/midi_3.gif" width="140" height="36" usemap="#Map" border="0"></td>
              </tr>
            </table>
          </td>

⌨️ 快捷键说明

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