diff options
Diffstat (limited to 'web-common/scroll.js')
-rw-r--r-- | web-common/scroll.js | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/web-common/scroll.js b/web-common/scroll.js deleted file mode 100644 index 1180588a..00000000 --- a/web-common/scroll.js +++ /dev/null | |||
@@ -1,12 +0,0 @@ | |||
1 | $(window).scroll(function() { | ||
2 | if ($(this).scrollTop() >= 50) { | ||
3 | $('#jump-top').fadeIn(200); | ||
4 | } else { | ||
5 | $('#jump-top').fadeOut(200); | ||
6 | } | ||
7 | }); | ||
8 | $('#jump-top').click(function() { | ||
9 | $('html').animate({ | ||
10 | scrollTop : 0 | ||
11 | }, 500); | ||
12 | }); | ||