Can I nest tabs within another tabs.

I for a themed tabset. Then I used that as content for another tab. COuld not get that working.

Is that supported? Is there anyway to get that?

Thank you.

Comments

zigma’s picture

Or even two tabsets on a page.

nedjo’s picture

Title: Can I have two or more levels of tabs » Support two or more levels of tabs
Category: support » feature

Two tabasets on the same page is currently supported, but not a multilevel tabset.

It shouldn't be too hard to do. We would probably use element_children() to iterate through child elements, and use the 'secondary' tabs class for secondary tabs.

zigma’s picture

That would be great. I needed two levels of tabs.

I guess you are talking aout modifying the tabs.module implementation.
If you can find some spare time then please throw few more hints and i will try if i can get that.

nedjo’s picture

I'd like to wait until we apply this patch, http://drupal.org/node/124550. It will make the change easier.

zigma’s picture

That will be nice.

Is this patch also included in the current build. This was supposed to make rendering of tabbed pages nicer by not showing contents of all the tabs spread on the page when it loads for the first time.

You have done a wonderful job with this module. I am not sure how many people are using it. But the way Drupal has been going with the JQuery, there could not have been any better module. Using JQuery directly is not easy for everyone.

nedjo’s picture

You can use the 5.x dev version to get the latest fixes. I'm not posting new releases very often.

zigma’s picture

Any progress on multi-level t6abs support??

zigma’s picture

Instead could you suggest me a way of creating set of links under a tab, where clicking on any link refreshes the content under the selected tab without entire page refresh.

nedjo’s picture

Version: 5.x-0.3 » master
Assigned: Unassigned » nedjo
Status: Active » Fixed

Fixed, required only a small tweak: remove the explicit tabindex, which interfered with multi-level tabs.

I've updated the example module to reflect this change, http://cvs.drupal.org/viewcvs/drupal/contributions/modules/jstools/tabs/...

Anonymous’s picture

Status: Fixed » Closed (fixed)