Moreover, the plugin is really easy to implement in your projects. It can be fully customize with additional CSS or JS according to your needs.
<!-- HD Smooth Scroll JS --> <script src="js/hd-smooth-scroll.js"></script>
2. If you wanted to make table of contents, create
section element (with a unique id) for your content blocks in HTML. Target these sections with hashtag links for smooth scroll.
<a href="#section-1">Go to section 1</a> <a href="#section-2">Go to section 2</a> . . . <a href="#section-n">Go to section n</a> <section id="section-1"> These are some contents of section one. </section> <section id="section-2"> Here you can put some ideas for section two. </section> . . . <section id="section-n"> N blcok. </section>
3. If you wanted to create back to top button, simply use the following syntax.
<a href="#">Top of Page</a>