Tabs

The tabs structure consists of an unordered list of tabs that have hashes corresponding to tab ids. Then when you click on each tab, only the container with the corresponding tab id will become visible.

Example

First content
Second content
Third content
Fourth content

jQuery Plugin Methods

You can programmatically trigger a tab change with our select_tab method. You have to input the id of the tab you want to switch to. In the case of our demo it would be either tab1, tab2, tab3, or tab4.


$(document).ready(function(){
    $('ul.tabs').tabs('select_tab', 'tab_id');
});