I have a horizontal list of the menu on the top of the page and the contents at the bottom. The header menu has a link to the particular sections at the bottom content. While clicking on each menu, content needs to scroll to the section with a smooth effect. I have found some styles which I want from online, but it has no horizontal scrolling to the menu section.
https://www.cssscript.com/demo/simple-scrollspy-plugin-javascript/
this is an example of my requirement, but it needs to have more menu on the top part. Also while we scrolling the contents to the bottom, the respective menu needs to scroll the visible area.
Sorry I have edited my question because I wasn't clear on my description.
this is an example while selecting menu2
this is to happen while we scroll the content area to 'section 5'
please see the active menu for both.