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

Improve anchor links between pages #1

Open
kowaalczyk opened this issue Dec 25, 2018 · 0 comments
Open

Improve anchor links between pages #1

kowaalczyk opened this issue Dec 25, 2018 · 0 comments
Assignees
Labels
feature New feature or request

Comments

@kowaalczyk
Copy link
Collaborator

Currently, it is only possible to jump between pages via top menu, each new link would have to be registered separately in main.js.

Ideally, we would like all anchor links to *-content to switch the page, this can be easily implemented by iterating all links within the page and checking href attribute values. Switching page to *-content should also result in switching appropriate *-menu-item to uk-active and all others to inactive.

Another issue with local links, is that they are not displayed on the address bar of the browser. When intercepting the links, we should keep the browser bar changed as well as read links to specific anchors when the website is loaded from url with one of the content anchors.

@kowaalczyk kowaalczyk added the feature New feature or request label Mar 18, 2019
@kowaalczyk kowaalczyk self-assigned this Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant