English
<!-- http://www.downcodes.com --> <!-- bbs http://bbs.downcodes.com --> Move the keyboard arrow keys to see the effect! <!--To complete this The effect requires two steps. The first step: add the following code to the <head> area --> <script language="JavaScript"> function movepage() { var direction =event.keyCode switch(direction){ case 39: window .moveBy(15, 0); window.moveBy(0, 0); break case 37: window.moveBy(-15, 0); window.moveBy(0, 0); break case 38: window.moveBy(0, 0); window.moveBy(0, -15); break case 40: window.moveBy(0, 0); window.moveBy(0, 15); break default: break } } </script> <!--No. Step 2: Add "onLoad="top.window.focus()" onkeydown="movepage()"" to the <body> tag. For example: --> <body onLoad="top.window.focus()" onkeydown ="movepage()">