🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Scrolls.js is a lightweight jQuery scroll to top plugin that enables a configurable button to smoothly scroll back to the top of the webpage.

Back-to-top scroll-to-top

Documentation

scrollsJS

####ScrollsJS is a jquery plugin that enables you to have a built-in scroller that will take you smoothly to the top of the page.

Implementation

Between <head> tags.

<script src="https://code.jquery.com/jquery-1.10.2.js"></script> <script src="/path-to/scrolls.js"></script>

Before ending </body> tag.

<script>   scroller.init(); </script>

If you wish to change the color of the scroller, simply create an object called conf and place it anywhere above the scroller.init() code. Like so.

<script>   var conf = { 	bgColor: "#4F8EF2", 	hoverColor: "#4EB441", 	opacity: 0.5   };    scroller.init(); </script>

You may change either the background color, hover color or opacity of the scroll button.

##Enjoy!!


You May Also Like