Fullpage.js: How to hide Hashtag addition on address bar on clicking navigation menu links

Created on 2 Jun 2016  ·  5Comments  ·  Source: alvarotrigo/fullPage.js

How to hide the slide id (ex: website.com/#5thPage) from appearing in address bar on clicking the navigation menu links.

question

All 5 comments

Few options:

  • Do not use the anchors option or the data-anchor attributes Demo
  • Use lockAnchors: true Demo (just click setLockAnchors(true) to test it)

Thanks for the reply. But i need to use the menu links for navigation.
And while clicking on nav links, the Slide ID should'nt appear on address bar.
Kindly help if it is something under your control. -Thanks

As I said, use lockAnchors.

Sorry, After using _lockAnchors_, the top menu links(first slide, second slide, third slide...) in the methods.html is not working. only the vertical navigation dots are working. Any way to keep those top menu navigation links still usable(but they should not add ID name to address bar)?

Any way to keep those top menu navigation links still usable

Just create your own menu and attach to it the fullpage.js function moveTo.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

anonet1 picture anonet1  ·  3Comments

lunaandyou picture lunaandyou  ·  4Comments

Andi-Stevenson picture Andi-Stevenson  ·  4Comments

Sperziemone picture Sperziemone  ·  5Comments

cavias picture cavias  ·  3Comments