한국어
<!--完整的HTML代码如下:--> <html> <head> <SCRIPT> //정의하기 전의 대규모 작업 window.onload= function() {password1=null; initCalc(); } var CapsLockValue=0; var 확인; function setVariables() { 테이블너비=630; // 로고 너비(픽셀 단위) tableheight=20; // 로고 높이(픽셀 단위) if (navigator.appName == "Netscape") { horz=".left"; vert=".top"; docStyle="문서."; styleDoc=""; innerW="window.innerWidth"; innerH="window.innerHeight"; offsetX="window.pageXOffset"; offsetY="window.pageYOffset"; } else { horz=".pixelLeft"; vert=".pixelTop"; docStyle=""; styleDoc=".style"; innerW="document.body.clientWidth"; innerH="document.body.clientHeight"; offsetX="document.body.scrollLeft"; offsetY="document.body.scrollTop"; } } function checkLocation() { if (check) { objectXY="softkeyboard"; var availableX=eval(innerW); var availableY=eval(innerH); var currentX=eval(offsetX); var currentY=eval(offsetY); x=사용 가능한X-테이블 너비+현재X; //y=사용 가능한 Y-테이블 높이+현재Y; y=현재Y; 평가이동(); } setTimeout("checkLocation()",0); } function evalMove() { //eval(docStyle + objectXY + styleDoc + horz + "=" + x); eval(docStyle + objectXY + styleDoc + vert + "=" + y); } self.onError=null; 현재X = 현재Y = 0; whichIt = null; lastScrollX = 0; lastScrollY = 0; NS = (document.layers) ? 1:0; IE = (document.all) ? 1:0; function heartBeat() { if(IE) { diffY = document.body.scrollTop; diffX = document.body.scrollLeft; } if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; } if(diffY != lastScrollY) { 퍼센트 = .1 * (diffY - lastScrollY); if(퍼센트 > 0) 퍼센트 = Math.ceil(퍼센트); else 퍼센트 = Math.floor(퍼센트); if(IE) document.all.softkeyboard.style.pixelTop += 퍼센트; if(NS) document.softkeyboard.top += 퍼센트; lastScrollY = lastScrollY + 퍼센트;} if(diffX != lastScrollX) { 퍼센트 = .1 * (diffX - lastScrollX); if(퍼센트 > 0) 퍼센트 = Math.ceil(퍼센트); else 퍼센트 = Math.floor(퍼센트); if(IE) document.all.softkeyboard.style.pixelLeft += 퍼센트; if(NS) document.softkeyboard.left += 퍼센트; lastScrollX = lastScrollX + 퍼센트; } } 함수 checkFocus(x,y) { 스토커x = document.softkeyboard.pageX; 스토커리 = document.softkeyboard.pageY; 스토커폭 = document.softkeyboard.clip.width; 스토커 높이 = document.softkeyboard.clip.height; if( (x > 스토커x && x < (stalkerx+stalkerwidth)) && (y > 스토커리 && y < (stalkery+stalkerheight))) return true; 그렇지 않으면 false를 반환합니다.} function GrabIt(e) { check = false; if(IE) { whichIt = event.srcElement; while (whichIt.id.indexOf("softkeyboard") == -1) { whichIt = whichIt.parentElement; if (whichIt == null) { true를 반환; } } whichIt.style.pixelLeft = whichIt.offsetLeft; whichIt.style.pixelTop = whichIt.offsetTop; currentX = (event.clientX + document.body.scrollLeft); currentY = (event.clientY + document.body.scrollTop); } else { window.captureEvents(Event.MOUSEMOVE); if(checkFocus (e.pageX,e.pageY)) { whichIt = document.softkeyboard; StalkerTouchedX = e.pageX-document.softkeyboard.pageX; StalkerTouchedY = e.pageY-document.softkeyboard.pageY;} } true를 반환합니다. } function moveIt(e) { if (whichIt == null) { return false; } if(IE) { newX = (event.clientX + document.body.scrollLeft); newY = (event.clientY + document.body.scrollTop); distanceX = (newX - 현재X); distanceY = (newY - 현재Y); 현재X = newX; 현재Y = 신규Y; whichIt.style.pixelLeft += 거리X; whichIt.style.pixelTop += 거리Y; if(whichIt.style.pixelTop < document.body.scrollTop) whichIt.style.pixelTop = document.body.scrollTop; if(whichIt.style.pixelLeft < document.body.scrollLeft) whichIt.style.pixelLeft = document.body.scrollLeft; if(whichIt.style.pixelLeft > document.body.offsetWidth - document.body.scrollLeft - whichIt.style.pixelWidth - 20) whichIt.style.pixelLeft = document.body.offsetWidth - whichIt.style.pixelWidth - 20; if(whichIt.style.pixelTop > document.body.offsetHeight + document.body.scrollTop - whichIt.style.pixelHeight - 5) whichIt.style.pixelTop = document.body.offsetHeight + document.body.scrollTop - whichIt.style. 픽셀 높이 - 5; event.returnValue = 거짓; } else { whichIt.moveTo(e.pageX-StalkerTouchedX,e.pageY-StalkerTouchedY); if(whichIt.left < 0+self.pageXOffset) whichIt.left = 0+self.pageXOffset; if(whichIt.top < 0+self.pageYOffset) whichIt.top = 0+self.pageYOffset; if( (whichIt.left + whichIt.clip.width) >= (window.innerWidth+self.pageXOffset-17)) whichIt.left = ((window.innerWidth+self.pageXOffset)-whichIt.clip.width)-17 ; if( (whichIt.top + whichIt.clip.height) >= (window.innerHeight+self.pageYOffset-17)) whichIt.top = ((window.innerHeight+self.pageYOffset)-whichIt.clip.height)-17 ; false를 반환;} false를 반환; } 함수 dropIt() {whichIt = null; if(NS) window.releaseEvents (Event.MOUSEMOVE); 사실을 반환; } if(NS) {window.captureEvents(Event.MOUSEUP|Event.MOUSEDOWN); window.onmousedown=grabIt; window.onmousemove = moveIt; window.onmouseup = dropIt; } if(IE) { document.onmousedown = GrabIt; document.onmousemove = moveIt; document.onmouseup = dropIt; } // if(NS || IE) action = window.setInterval("heartBeat()",1); //http://www.downcodes.com의 추가 자바스크립트 document.write("<DIV align=center id="softkeyboard" name="softkeyboard" style="position:absolute; left:0px; 상단:0px; 너비:500px; z-index:180;디스플레이:없음"> <table id="CalcTable" 너비="" border="0" align="center" 셀 패딩 ="0" cellpacing="0" bgcolor=""> <FORM id=Calc name=Calc action="" method=post autocomplete="off"> <tr> <td title="尊敬的客户:为了保证网上交易security,建议使用密码输入器输入密码!" align="right" valign="middle" bgcolor="" style="cursor: default;height:30"> <INPUT 유형=숨겨진 값="" 이름=비밀번호> <INPUT 유형=숨겨진 값=ok 이름=action2>密码输入器             <입력 스타일="너비:100px ;높이:20px;배경- 색상:#54BAF1;" 유형=버튼 값="사용용键盘输入" bgtype="1" onclick="password1.readOnly=0;password1.focus();softkeyboard.style.display='none ';password1.value='';"><span style="width:2px;"></span></td> </tr> <tr align="center"> <td 정렬 ="가운데" bgcolor="#FFFFFF"> <테이블 정렬="가운데" 너비="%" 테두리="0" 셀 간격="1" 셀 패딩="0 ">n <tr align="left" valign="middle"> n <td> <입력 유형=버튼 값=" ~ "></td>n <td> < 입력 유형=버튼 값=" ! "></td>n <td> <입력 유형=버튼 값=" @ "></td>n <td> <입력 유형=버튼 값=" # "></td >n <td> <입력 유형=버튼 값=" $ "></td>n <td> <입력 유형=버튼 값=" % "></td>n <td> <입력 유형=버튼 값=" ^ "></td>n <td> <입력 유형=버튼 값=" & "></td>n <td> <입력 유형=버튼 값 =" * "></td>n <td> <입력 유형=버튼 값=" ( "></td>n <td> <입력 유형=버튼 값=" ) " ></td>n <td> <입력 유형=버튼 값=" _ "></td>n <td> <입력 유형=버튼 값=" + "></td> n <td> <입력타입=버튼값=" | "></td>n <td colspan="1" rowspan="2"> <입력 이름="button10" 유형=버튼 값=" 退格" onclick=" setpassvalue();" onDblClick="setpassvalue();" style="width:100px;height:42px"> n </td>n </tr>n <tr align=" left" valign="middle"> n <td> <입력 유형=버튼 값=" ` "></td>n <td> <입력 유형=버튼 값=" 1 " ></td>n <td> <입력 유형=버튼 값=" 2 "></td>n <td> <입력 유형=버튼 값=" 3 "></td> n <td> <입력 유형=버튼 값=" 4 "></td>n <td> <입력 유형=버튼 값=" 5 "></td>n <td> <입력 유형=버튼 값=" 6 "></td>n <td> <입력 유형=버튼 값=" 7 "></td>n <td> <입력 유형=버튼 값= " 8 "></td>n <td> <입력 유형=버튼 값=" 9 "></td>n <td> <입력 이름="버튼6" 유형=버튼 값= " 0 "></td>n <td> <입력 유형=버튼 값=" - "></td>n <td> <입력 유형=버튼 값=" = "> </td>n <td> <입력 유형=버튼 값=" \ "></td>n <td> </td>n </tr>n <tr 정렬=" left" valign="middle"> n <td> <입력 유형=버튼 값=" q "></td>n <td> <입력 유형=버튼 값=" w " ></td>n <td> <입력 유형=버튼 값=" e "></td>n <td> <입력 유형=버튼 값=" r "></td> n <td> <입력 유형=버튼 값=" t "></td>n <td> <입력 유형=버튼 값=" y "></td>n <td> <input 유형=버튼 값=" u "></td>n <td> <입력 유형=버튼 값=" i "></td>n <td> <입력 유형=버튼 값= " o "></td>n <td> <입력 이름="button8" 유형=버튼 값=" p "></td>n <td> <입력 이름="button9 " 유형=버튼 값=" { "></td>n <td> <입력 유형=버튼 값=" } "></td>n <td> <입력 유형=버튼 값 =" [ "></td>n <td> <입력 유형=버튼 값=" ] "></td>n <td><입력 이름="button9" 유형=버튼 onClick="capsLockText();setCapsLock();" onDblClick="capsLockText();setCapsLock();" value="切换大/작은写" style="width:100px;">< /td>n </tr>n <tr align="left" valign="middle"> n <td> <입력 유형=버튼 값=" a "></td> n <td> <입력 유형=버튼 값=" s "></td>n <td> <입력 유형=버튼 값=" d "></td>n <td> < 입력 유형=버튼 값=" f "></td>n <td> <입력 유형=버튼 값=" g "></td>n <td> <입력 유형=버튼 값= " h "></td>n <td> <입력 유형=버튼 값=" j "></td>n <td> <입력 이름="버튼3" 유형=버튼 값 =" k "></td>n <td> <입력 이름="button4" 유형=버튼 값=" l "></td>n <td> <입력 이름= "button5" 유형=버튼 값=" : "></td>n <td> <입력 이름="button7" 유형=버튼 값=" " "></td>n <td> <입력 유형=버튼 값=" ; "></td>n <td> <입력 유형=버튼 값=" ' "></td>n <td rowspan="2" colspan="2"> <입력 name="button12" type=button onclick="OverInput();" value=" 고정 " style="width:130px;height:42"></td>n </tr >n <tr align="left" valign="middle"> n <td> <입력 이름="button2" 유형=버튼 값=" z "></td> n <td> <입력 유형=버튼 값=" x "></td>n <td> <입력 유형=버튼 값=" c "></td>n <td> <입력 유형=버튼 값=" v "></td>n <td> <입력 유형=버튼 값=" b "></td>n <td> <입력 유형=버튼 값= " n "></td>n <td> <입력 유형=버튼 값=" m "></td>n <td> <입력 유형=버튼 값=" < "></td>n <td> <입력 유형=버튼 값=" > "></td>n <td> <입력 유형=버튼 값=" ? "></td>n <td> <입력 유형=버튼 값=" , "></td>n <td> <입력 유형=버튼 값=" . "></td>n <td> <입력 유형=버튼 값=" / "></td>n </tr>n </table></td> </FORM> < /tr> </table></DIV>") //새로운 기능 추가 function addValue(newValue) { if (CapsLockValue==0) { var str=Calc.password.value; if(str.length<password1.maxLength) { Calc.password.value += newValue; } if(str.length<=password1.maxLength) { 비밀번호1.값=Calc.password.value; } } else { var str=Calc.password.value; if(str.length<password1.maxLength) { Calc.password.value += newValue.toUpperCase(); } if(str.length<=password1.maxLength) { 비밀번호1.값=Calc.password.value; } } } //BackSpace에 맞는 기능 function setpassvalue() { var longnum=Calc.password.value.length; var num num=Calc.password.value.substr(0,longnum-1); Calc.password.value=num; var str=Calc.password.value; 비밀번호1.값=Calc.password.값; } //설명 function OverInput() { //m_pass.mempass.value=Calc.password.value; var str=Calc.password.value; 비밀번호1.값=Calc.password.값; //경고(theForm.value); //theForm.value=m_pass.mempass.value; Softkeyboard.style.display="없음"; Calc.password.value=""; 비밀번호1.readOnly=1; //password1.value=Calc.password.value; } //关闭软键盘 function closekeyboard(theForm) { //eval("var theForm="+theForm+";"); //theForm.value=""; Softkeyboard.style.display="없음"; //Calc.password.value=""; } //显示软键盘 function showkeyboard() { if(event.y+140) Softkeyboard.style.top=event.y+document.body.scrollTop+15; if((event.x-250)>0) { Softkeyboard.style.left=event.x-250; } else { 소프트키보드.style.left=0; } 소프트키보드.style.display="block"; 비밀번호1.readOnly=1; 비밀번호1.blur(); //password1.value=""; } //设置是否大写적值 function setCapsLock() { if (CapsLockValue==0) { CapsLockValue=1 // Calc.showCapsLockValue.value="当前是大写 "; } else { CapsLockValue=0 // Calc.showCapsLockValue.value="当前是小写 "; } } function setCalcborder() { CalcTable.style.border="1px solid #0090FD" } function setHead() { CalcTable.cells[0].style.BackgroundColor="#7EDEFF" } function setCalcButtonBg() { for(var i =0;i<Calc.elements.length;i++) { if(Calc.elements[i].type=="button"&&Calc.elements[i].bgtype!="1") { // if(i= =10) // 경고(123); Calc.elements[i].style.borderTopWidth= 0 Calc.elements[i].style.borderRightWidth= 2 Calc.elements[i].style.borderBottomWidth= 2 Calc.elements[i].style.borderLeftWidth= 0 계산. 요소[i].style.borderTopStyle= "없음"; Calc.elements[i].style.borderRightStyle= "단단함"; Calc.elements[i].style.borderBottomStyle= "단단함"; Calc.elements[i].style.borderLeftStyle= "없음"; //#46AC17 Calc.elements[i].style.borderTopColor= "#118ACC"; Calc.elements[i].style.borderRightColor= "#118ACC"; Calc.elements[i].style.borderBottomColor= "#118ACC"; Calc.elements[i].style.borderLeftColor= "#118ACC"; //#CBF3B2 Calc.elements[i].style.BackgroundColor="#ADDEF8"; var str1=Calc.elements[i].value; str1=str1.trim(); /* if(str1=="`") { Calc.elements[i].style.fontSize=14; } */ if(str1.length==1) { //Calc.elements[i].style.fontSize=16; //Calc.elements[i].style.fontWeight='bold'; } var thisButtonValue=Calc.elements[i].value; thisButtonValue=thisButtonValue.trim(); if(thisButtonValue.length==1) { Calc.elements[i].onclick= function () { var thisButtonValue=this.value; thisButtonValue=thisButtonValue.trim(); addValue(thisButtonValue); //alert(234) } Calc.elements[i].ondblclick= function () { var thisButtonValue=this.value; thisButtonValue=thisButtonValue.trim(); addValue(thisButtonValue); //alert(234) } } } } } function initCalc() { setCalcborder(); setHead(); setCalcButtonBg(); } String.prototype.trim = function() { // 사용정则表达式将前后공格 // 사용공자符串替代。 return this.replace(/(^s*)|(s*$)/g, ""); } var capsLockFlag; capsLockFlag=true; function capsLockText() { if(capsLockFlag)//改成大写 { for(var i=0;i<Calc.elements.length;i++) { var char=Calc.elements[i].value; var char=char.trim() if(Calc.elements[i].type=="button"&&char>="a"&&char<="z"&&char.length==1) { Calc.elements[i]. value=" "+String.fromCharCode(char.charCodeAt(0)-32)+" " } } } else { for(var i=0;i<Calc.elements.length;i++) { var char=Calc.elements [i].값; var char=char.trim() if(Calc.elements[i].type=="button"&&char>="A"&&char<="Z"&&char.length==1) { Calc.elements[i]. value=" "+String.fromCharCode(char.charCodeAt(0)+32)+" " } } } capsLockFlag=!capsLockFlag; }</SCRIPT> </head> <body> <INPUT class=textlogin id=LOGPASS onkeydown=Calc.password.value=this.value title=登录密码 onclick="password1=this;showkeyboard();this.readOnly= 1;Calc.password.value=''" readOnly type=password maxLength=12 onchange=Calc.password.value=this.value name=LOGPASS minLength="6"> </body> </html>