Hi, this may seem a duplicate, but I couldn't find any real solution to any other threads so I'm creating here a new one.

I want to have a link in a page with tabs, which if clicked will select dynamically and real time (without a page reload) the wanted tab. I know that if I do a page reload and have the "#wanted-tab" anchor in the url I will have the wanted tab selected, but this is not what I want. I want to emulate a click event on the wanted tab from a link in the same page. Is that possible?

FYI: I know nothing about javascript but I'm OK with PHP but if you have any JS suggestions (for tabs.js let's say) I think I'll manage it.


cptX’s picture

If for anyone's help I have found here an example but I don't know how to implement it on drupal-tabs

Also here I found some code but again don't know how to implement it on drupal-tabs: