Scroll to the top of the page with a single click! jQuery Scroll Top is a jQuery plugin for scrolling to the top of the page. The jQuery scrollTop function is used to move the content to the top of the browser window.
It’s up to you how many pages down (or up) this new start point is and the plugin will scroll there. This allows you to get back to specific areas of your site without having to use page refreshes or switch between tabs.
Here’s how to use it:
jquery.scrolltop.css is required to style the ‘back to top’ button.