I haven't been able to find any support issues related to this so far, but I am trying to use a custom HTML structure with the Drupal tabs. For styling purposes I'm trying to add a div around the top ul. Having had a look at http://stilbuero.de/jquery/tabs/ I've changed the tabs.module file so that the html abides by the rules given on the query tabs page:

attach the classes tabs-nav to the unordered list, respectively tabs-container to each container and let the plugin automatically find the required elements by class.

However when I make these changes the script hides the content for all of the tabs present, so I just get the tabs and no conent.

Having checked the HTML the script is adding 'tabs-hide' to the 'class' for all content tabs and is not adding the required 'class="tabs-selected active"' to the ul list item.

This problem is a little vague but has anyone used custom HTML with the tabs before? or know where I can start to fix this.
thanks

Comments

nedjo’s picture

I suspect these instructions are for a newer version of the plugin than that included with jstools. The latest version doesn't work with Drupal 5, but might with the jQuery Update module installed.

bsuttis’s picture

Did you make any progress on this? I'm interested in doing something similar.