Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- body {
- height: 5000px;
- }
- </style>
- </head>
- <body onload="scroll()">
- <script>
- function scroll() {
- // scrollTo(xPosition, yPosition)
- window.scrollTo(0, 1000);
- }
- </script>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement