Код виджета:
Код: Выделить всё
<?php
$this->widget('zii.widgets.jui.CJuiTabs',array(
'tabs'=>array(
'текст' => '111',
'текст2'=> '222'
// panel 3 contains the content rendered by a partial view
//'AjaxTab'=>array('ajax'=>$ajaxUrl),
),
'cssFile' => '/css/uitheme.css',
// additional javascript options for the tabs plugin
'options'=>array(
'collapsible'=>true,
),
'htmlOptions'=>array(
'style'=>'width:350px;margin:20px 0;height:300px;'
),
));
?>
И как сделать, чтобы по нажатию на первый таб срабатывала своя js функция, на второй другая и т.д.?