samsono / Easy-Responsive-Tabs-to-Accordion

Easy responsive tabs - is a lightweight jQuery plugin which optimizes normal horizontal or vertical tabs to accordion on multi devices like: web, tablets, Mobile (IPad & IPhone). This plugin adapts the screen size and changes its action accordingly.
Other
603 stars 259 forks source link

Linking to tabs doesn't work when linking to a tab like an in-page anchor #19

Closed izziebee closed 10 years ago

izziebee commented 10 years ago

Linking to tabs works great if the link is one on page (say test.shtml) and the tab is on another page (say index.shtml).

If I am on index.shtml and I have text on tab 1 that links to tab 2 (also on the index page), how do I do that?

Upon implementing the new instructions, the URL changes to the appropriate tab but the content on the page doesn't switch to the new tab.

Thanks!

samsono commented 10 years ago

Plugin is working fine with the another page link, please check your code once it should work. or share with us will look into the issue. Thanks

jaygao79 commented 10 years ago

Any idea how to get it to work on the same page? For example, a link in the content of tab1 links to tab2, but when click on that link, the # is changed, but tab2 does not open.

Thanks,

izziebee commented 10 years ago

I am still unable to get links to work between tabs on the same page.

jaygao79 commented 10 years ago

Please go to unclosed issues, the bottom of the name of tabs issue, see @suenotsuan's solution. It works and I tested.

izziebee commented 10 years ago

@jaygao79 do you have an example URL where you have this working? I'd like to take a look at an example. Thanks!

ghost commented 10 years ago

Unfortunately my site redo is still on the Development server and can't be seen outside of my company.

jaygao79 commented 10 years ago

@izziebee same here, my site is local on my machine. But I can confirm that by adding suenotosuan's code to the page, it works.