/ScrollToTop_JsLibrary

Javascript Library to scroll to top of the web page

Primary LanguageHTML

ScrollToTop_JsLibrary

This is the library to add scroll to the top of the website. Directions:

=> Add scrollToTop as id in the element upon which you want 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 remains to be done into the HTML file.