+ 1
How to smoothly scroll within a page using anchors with section id
The document consist of multiple naviational links as anchor referring to IDs of the different sections. I want to scroll the viewport to that section without appending ID of the section to the URL when clicked to the associated anchor. Also the Scrolling should be smooth and visible.
2 Réponses
+ 1
Did anyone get ?
+ 1
I have code something like this, and I want to scroll it smoothly with heading visible. Heading are underneath the nav.
Help.
https://code.sololearn.com/WNg255F07iRh/?ref=app