Return to Snippet

Revision: 11577
at February 10, 2009 06:02 by davebowker


Initial Code
$(document).ready(function(){
	$('#example > ul').tabs();
});

====

// add slide effect to a tab
$('#example > ul').tabs({ fxSlide: true });

// add a fast fade effect to a tab
$('#example > ul').tabs({ fxFade: true, fxSpeed: 'fast' });

// add a slide and fade effect
$('#example > ul').tabs({ fxSlide: true, fxFade: true, fxSpeed: 'normal' });

// disable one of the tabs (no-zero-based index)
$('#example > ul').tabs({ disabled: [3] });

// start with one of the tabs selected (no-zero-based index)
$('#example > ul').tabs(2);

// start with one of the tabs selected and another disabled
$('#example > ul').tabs(2, { disabled: [1] });

Initial URL
http://snipplr.com/view/4762/jquery-ui-tabs-reference/

Initial Description

                                

Initial Title
jQuery UI Tabs Reference

Initial Tags
jquery

Initial Language
JavaScript