Created
November 2, 2013 22:23
-
-
Save Stevenlitton/7284156 to your computer and use it in GitHub Desktop.
Loads the page at the top, adding the second function will make it work on refresh
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
$(document).scrollTop(0); | |
$(function() { | |
window.location.href = "#topDiv"; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment