Last active
January 18, 2017 13:43
-
-
Save Mons1eurEnzo/fe7f680c92853ec9bc72844d718e7f0b to your computer and use it in GitHub Desktop.
Scroll Top
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).ready(function(){ | |
$("#scrollup").click(function(){ | |
$("html, body").animate({ scrollTop: 0 }, 600); | |
return false; | |
}); | |
}); |
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
http://javascript.ru/forum/misc/44239-poyavlenie-ischeznovenie-ehlementa-pri-prokrutke-stranicy-jquery-4.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment