Skip to content

Programmatic controller with anchor names and navigation history #65

Answered by Hejtmus
fernandogiacomino asked this question in Q&A
Discussion options

You must be logged in to vote

Hey, thanks for asking. My answer won't make you happy, but here it is. There is no such a feature as navigation history, so for now if you need this kind of functionality, you would need some complicated solution eg. using intersection observers.
But if you need some ground for implementing history, I can make quick minor version with option to add callback on fullpageController or sectionController navigation, which allows you to make wrapper around controllers and thus record navigation states.
And that other thing about anchor name, I'm not familiar with fullpage.js terminology, but if I got you correctly, you want to be able to navigate to section/slide based on it's title, right?

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
2 replies
@fernandogiacomino
Comment options

@Hejtmus
Comment options

Answer selected by fernandogiacomino
Comment options

You must be logged in to vote
1 reply
@Hejtmus
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants