Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

Select a tab with JavaScript

  • softforge
  • softforge
  • OFFLINE
  • Posts: 129
  • Thanks: 21
  • Karma: 12
13 years 9 months ago #157818 by softforge
Select a tab with JavaScript was created by softforge
I love the CB feature that allows you to load a profile page with a particular tab open with a URL something like this:

www.mysite.com/profile?tab=connections

But is it possible to open a specific tab with JavaScript link something like this:
Code:
<a onclick="tabPane.setSelectedIndex(1);" href="#">Open Tab</a>
It looks like it should be possible according to this page:

webfx.eae.net/dhtml/tabpane/tabpane.html

But I cant get it to work. Any ideas?

Many thanks! :)

If you like our plugins, please consider writing a review on the Joomla Extension Directory or the Community Builder Directory ...

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum