http://oxtag.com/html/ex/keystroke.html

<SCRIPT LANGUAGE="JavaScript">
<!--
// 소스 : http://www.happyscript.net

var SpecialWord = "tagpia", // 단어
    SpecialUrl = "./error_message.html", // URL
    SpecialLetter = 0;

function getKey(keyStroke) {
var isNetscape=(document.layers);
var eventChooser = (isNetscape) ? keyStroke.which : event.keyCode;
var which = String.fromCharCode(eventChooser).toLowerCase();
if (which == SpecialWord.charAt(SpecialLetter)) {
SpecialLetter++;
if (SpecialLetter == SpecialWord.length) window.location = SpecialUrl;
}
else SpecialLetter = 0;
}
document.onkeypress = getKey;
//-->
</script>



<Br><br>
<font style=font-size:9pt;>
"<font color=red>tagpia</font>"를 타이핑 해보세요.<br>
그럼 연결된 URL로 이동됨니다.<br>
놀라지 마세요. 연결한 페이지는 장난...
</font>

Posted by 알 수 없는 사용자
,