jellekralt / Responsive-Tabs

Responsive Tabs is a jQuery plugin that provides responsive tab functionality. The tabs transform to an accordion when it reaches a CSS breakpoint. You can use this plugin as a solution for displaying tabs elegantly on desktop, tablet and mobile.
http://jellekralt.github.io/Responsive-Tabs/
MIT License
531 stars 228 forks source link

Switching between tabs by non-nav link sometimes stops #139

Closed Killerius closed 6 years ago

Killerius commented 7 years ago

Hello,

For switching between tabs I am using a lot a links (like /user_data.php#contact) placed inside of tabs. Not in navigation I mean.

But sometimes it stops to work .... same link, same opened tab and not switching. After refresh a page it starts to work fine ... till ....

Can you help me with that, please? Thanx

Killerius commented 6 years ago

Yes, when you use non-nav link and then you use nav-link ... tabs stops to work and it shows :

jquery-1.12.4.min.js:2 Uncaught Error: Syntax error, unrecognized expression: /user-account#home at Function.fa.error (jquery-1.12.4.min.js:2) at fa.tokenize (jquery-1.12.4.min.js:2) at fa.select (jquery-1.12.4.min.js:2) at Function.fa [as find] (jquery-1.12.4.min.js:2) at n.fn.init.find (jquery-1.12.4.min.js:2) at new n.fn.init (jquery-1.12.4.min.js:2) at n (jquery-1.12.4.min.js:2) at HTMLAnchorElement. (user_account:1278) at HTMLAnchorElement.dispatch (jquery-1.12.4.min.js:3) at HTMLAnchorElement.r.handle (jquery-1.12.4.min.js:3) fa.error @ jquery-1.12.4.min.js:2 fa.tokenize @ jquery-1.12.4.min.js:2 fa.select @ jquery-1.12.4.min.js:2 fa @ jquery-1.12.4.min.js:2 find @ jquery-1.12.4.min.js:2 n.fn.init @ jquery-1.12.4.min.js:2 n @ jquery-1.12.4.min.js:2

jellekralt commented 6 years ago

Sorry, I don't really understand what you mean. Could you provide me with a link or jsbin example?

jellekralt commented 6 years ago

I'm closing the issue since there has been no activity for a while. Feel free to reopen if you feel this is still unresolved.