javascript - Scroll to top button -
I was thinking of myself how great Tumblr "scroll to top" button was. And then I was also thinking that Davisart does not have such a button. Now I know, I can easily scroll on top of the page by pressing the "Home" button on my keyboard. But what if I'm too busy scrolling? Or do not I just want to quarrel with my keyboard? Okay, I found out what I should do to do this. It was a scroll on top button for 4 chan but I optimized the manifest, instead of using devartart, there is a problem with code What do I want to do button, only then Is shown when users scroll more than 100 pixels on the screen I want to do some sort of animated scroll here, just like the Tumbler scroll, but this is not necessary. . But at the present, it shows a static button at the top right, click on the page, when I can click on the shortest time in the bottom of the page. The main here. JS code: / * * Scroll to top button for deviantart * * / Load function button () {button =...