This is the library for add scroll to top to the website.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.Rhistory
README.md
scrollToTop.js

README.md

scrollToTopJsLibrary

This is the library for add scroll to top to the website. How to use this Js file to add scroll to top to your website? =>First of all add scrollToTop as id in the element upon which you wnat to start scrolling to the top. => Include Js file. => Call scrollToTop function for example:

<script> scrollToTop({speed:10 ,time:10}) </script>

where any desired value of speed and time can be passed when calling. These all is to be done into the HTML file.