Closed mkdgs closed 9 years ago
Is there a reason you can't use the native hashchange
event (https://developer.mozilla.org/en-US/docs/Web/Events/hashchange)?
of course ! because hashchange is never triggering by history.pushState( ) . if skrollr keep silent this change, no one see it. see: https://developer.mozilla.org/en-US/docs/Web/Guide/API/DOM/Manipulating_the_browser_history#The_pushState%28%29_method Let me know if i am wrong, and thanks for your good work !
have a happy New Year of code !
I want know when the hash change, so i propose these change.
and use it like that: