Tutorial:BackToTopButton

BackToTopButton is a helpful script to have on long pages.

Installation
To install MarkForDeletion, simply add:

to your  on Community Central to affect all wikis or your   on this wiki to affect only this wiki. You can only have one  call in each console page, so add just: if you already have one. Note that if you haven't yet used any script articles you will also need to copy the " " section.

Customization
You can change the speed of how fast the scroll-up back to the top is by changing the variable "speed" Higher numbers make the scroll-up faster; default is 600.

You can also change how far down on a page the button appears by changing the variable "start" Higher numbers make the button appear farther down on the page; default is 800.

You can change the appearance of the button by modifying some CSS This example turns the button into a normal link.

The final customization that can be made determines if the button fades in and out or simply appears when you reach the point on the page when the button is set to appear. You can do this by changing the "ToggleFading" variable to 0.

Usage
BackToTopButton adds a button into the button toolbar that links back to the top of the page.

Paperluigi ttyd