Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Author: pahapoika91
- // Name: move page
- // Description: Moves the page a few pixels up and then down constantly
- <script type="text/javascript">
- window.onload=function() {
- var move=document.getElementsByTagName("body")[0];
- setInterval(function() {
- move.style.marginTop=(move.style.marginTop=="4px")?"-4px":"4px";
- }, 5);
- }
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement