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

Removal of anchors when using the widget #65

Open
JelteF opened this issue Jul 11, 2012 · 1 comment
Open

Removal of anchors when using the widget #65

JelteF opened this issue Jul 11, 2012 · 1 comment

Comments

@JelteF
Copy link

JelteF commented Jul 11, 2012

The site I wanted to use the widget on relies heavily on anchors to display the right page. The Exhibit widget however seems to remove those from the adress bar when it does an action. This way a refresh would bring the user to a different page. Is there any way of making some easy changes to the source code so the anchor remains in the adress bar?

@zepheiryan
Copy link
Member

I suspect this has to do with the history widget we use. It has a component where it can track history through changing the anchor for older browsers, and I believe its general guiding design was to be used more generally as overall site navigation. It's already overridden in part because Exhibit itself uses anchors in both generating shareable bookmarks and sharing one specific item by ID in a database. This is probably worth noting in the wiki, that it's not going to play as well as-is with sites that use the anchor for navigational purposes.

@ghost ghost assigned zepheiryan Jul 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants