More information about this topic
Reset database
 | 
Basic tabs example
Content for tab 1
Content for tab 2

protected/modules/UiModule/views/jui/zii_tab.php


$this->widget('zii.widgets.jui.CJuiTabs', array(
	'tabs' => array(
		'StaticTab 1' => 'Content for tab 1',
		'StaticTab 2' => array('content' => 'Content for tab 2', 'id' => 'tab2'),
		// panel 3 contains the content rendered by a partial view
		'AjaxTab' => array('ajax' => $this->createUrl('/AjaxModule/ajax/reqTest01')),
	),
	// additional javascript options for the tabs plugin
	'options' => array(
		'collapsible' => true,
	),
));
Fork me on GitHub