When you click a link in a navigation bar, it scrolls to a section of the page that it’s linked to. However, it leaves #section_name in the URL.
I was wondering if there was a way to remove this or even just git rid of the #
. It makes the URL look a little ugly (IMO).
2
Answers
try this
Yes, this should work without changing the URL, but it uses JavaScript: