+ 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.

1st Feb 2018, 5:34 PM
Rex Terminous
Rex Terminous - avatar
2 Antworten
+ 1
Did anyone get ?
4th Feb 2018, 6:17 AM
Rex Terminous
Rex Terminous - avatar
+ 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
4th Feb 2018, 6:21 AM
Rex Terminous
Rex Terminous - avatar