vdw / Tabslet

Yet another jQuery plugin for tabs, lightweight, easy to use, mobile-friendly and with some extra features.
http://vdw.github.io/Tabslet/
Apache License 2.0
565 stars 110 forks source link

Deeplinking and history buttons #42

Open serran0 opened 8 years ago

serran0 commented 8 years ago

23 Hello, using deeplinking i notice that the tabs don't change when pressing back/forward browser buttons. The hash changes but not the tabs. Is this by design?

Tested in Chrome and IE11.

serran0 commented 8 years ago

I ended up creating a function to monitor hash changes in URL. $(window).on('hashchange')

geckoseo commented 7 years ago

Also hoping to see this enhancement made.

While using hashchange might work, it's not very SEO friendly.

I've tried to set this up with the HTML5 browser history API, but unfortunately something in the Tablet code appears to be preventing the browser history from working correctly.