-
Notifications
You must be signed in to change notification settings - Fork 465
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
URL Hash Modification #29
Comments
Hey there @kbosu31. I just forked the repo and submitted a pull request to do what you are asking about here. You can find it in the meantime at https://github.com/JacobBennett/cool-kitten/tree/patch-1 The only thing modified is the script.js file by the way. This essentially allows you to use the data-slide attribute on the nav li elements to link directly to id's on slides and updates the URL hash when arriving at those locations. Example
Very briefly described, the framework would smooth scroll to the div that has a matching ID and update the URL hash once it arrived at that location. Hope this helps! |
@kbosu31 did you end up using this? |
Yes. Your solution worked great! Sent from my iPhone On Aug 15, 2013, at 4:08 PM, Jacob Bennett [email protected] wrote: @kbosu31 https://github.com/kbosu31 did you end up using this? — |
Does anyone have any modified code on this that would update the url hash on navigation click? I'm also looking for a way to link to a particular panel from an outside resource by passing a hash through the url? Surely someone has integrated this framework with that feature.
The text was updated successfully, but these errors were encountered: