Created
May 1, 2015 16:18
-
-
Save mtinra/c5c88e77c3764142fc56 to your computer and use it in GitHub Desktop.
Scroll page to the position
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// scroll down page away 500px from top | |
$(window).load(function() { | |
$("html, body").animate({ scrollTop: 500 }, 1000); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment