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.

Comments

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
http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/ajaxtabs_suppliment.htm?countrytabs=1

Also here I found some code but again don't know how to implement it on drupal-tabs:
http://jqueryui.com/demos/tabs/#...select_a_tab_from_a_text_link_instead_of_clicking_a_tab_itself