<body>区域中
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
var SpecialWord = "youkud",
SpecialUrl = "http://www.youkud.com/",
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;
// End -->
</script>
你用键盘敲条"webjx"就会看到效果!