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>
Related Code Snippets:
I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences.
I truly enjoy what I’m doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.