한국어
<!-- http://bbs.downcodes.com --> <!--효과를 완성하려면 두 단계가 있습니다. 1단계: <body> 영역에 다음 코드를 배치합니다 --> <script 언어=" JavaScript" > <!-- var mousex=new Array(); var mousey=new Array(); var i; var j=0; var k; var Recordcount=0; varpeat; varrepeat2; varrepeat3;varspeed =50 ; function startthis() { 레코드 개수=1; mousex=new Array() } function Recordthis() { if (maxnum.value=='' | | isNaN (maxnum.value) == true || maxnum.value<0) { if (recordcount==1) { mousex[i]=mousefollow.offsetLeft; ; textfield .value='시간 제한 없음'; } } else { if (recordcount==1) { if (i<maxnum.value) { mousex[i]=mousefollow.offsetLeft; i++; textfield.value='남은 값'+(maxnum.value-i)+'/50초' } else { textfield.value='시간이 다 되었습니다';} } } setTimeout("repeat()",20); function stopthis() {clearTimeout("repeat");recordcount=0; } function playthis() {clearTimeout("repeat3"); 0; if (j<i-1) { arrow.style.pixelLeft=mousex[j]; arrow.style.visibility='visible' j++; playthis() ",speed); } else {clearTimeout("repeat2"); arrow.style.visibility='hidden'; j=0; } } function rewindthis() {clearTimeout("repeat");clearTimeout("repeat2 "); 레코드 개수=0; if (k>0) { arrow.style.pixelLeft=mousex[k-1]; arrow.style.pixelTop=mousey[k-1]; arrow.style.visibility='visible'; k-- ; setTimeout("rewindthis()",speed); } else {clearTimeout("repeat3"); arrow.style.visibility='hidden' } } function follow() { mousefollow. style.pixelLeft =document.body.scrollLeft+event.clientX; mousefollow.style.pixelTop=document.body.scrollTop+event.clientY } // --> </script> <div id="arrow" style=" 위치:절대값:12px; 높이:21px; z-index:1;visibility:hidden"><img src="" ></div> <div id="mousefollow" 스타일="위치:절대 너비: 12px; 높이:21px; z-index:1;visibility:hidden">.</div> <input type="text" name="maxnum" size="4" maxlength="4"><input type=button onclick=startthis () value=녹화><입력 유형=버튼 onclick=stopthis() value=중지><input type=버튼 onclick="speed=50;playthis()" value=재생><input type=버튼 onclick= "speed= 2;playthis()" value=빠른 재생><input type=button onclick="speed=150;playthis()" value=느린 재생><input type=button onclick="speed=50;rewindthis() " value= Reverse><input type="button" name="textfield" style="width:100px" value="No timelimit"> <!--2단계: <body> 영역에 다음 코드를 추가합니다- -> <BODY onmousemove=follow()>