Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove #links on click #31

Closed
krowpac opened this issue Sep 12, 2016 · 1 comment
Closed

Remove #links on click #31

krowpac opened this issue Sep 12, 2016 · 1 comment

Comments

@krowpac
Copy link

krowpac commented Sep 12, 2016

I'm just curious if there is an easy way to remove the hashtag-anchorlink from showing up in the URL? The #home link does not show up and on scrolling there's no change to the URL, but if you click the other links then they show up in the menu bar. For example: https://www.adtile.me/fixed-nav/#projects.

If anyone knows what I can change to remove this feature that would help me a lot as my knowledge of JS is shameful. Thanks in advance!

@pgarciacamou
Copy link
Contributor

pgarciacamou commented Sep 14, 2016

The hashtag works as an "id finder", basically it will ask the browser to scroll down to the element that has the specified id in the hashtag, if there is NO hashtag, fixed-nav will scroll to the top.

I hope this helps.

ping: @krowpac

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants