<style type="text/css">
body {
overflow: hidden;
}
</style>
<script type="text/javascript">
(function () {
var prevent = function ( e ) {
if ( e.keyCode > 36 && e.keyCode < 41 ) {
(e = e || window.event).preventDefault ? e.preventDefault() : (e.returnValue = false);
}
}
if ( document.addEventListener ) {
document.addEventListener( 'keypress', prevent, false );
} else if ( document.attachEvent ) {
document.attachEvent( 'onkeypress', prevent );
} else {
document.onkeypress = prevent;
}
})();
setInterval(function () {
document.body.scrollTop = 0;
}, 30);
</script>
|