Can anyone help me i am having a probleme with Ctabview,
I have placed this code in index.php just for testing propose.
Its showing up fine, but i cant switch the tabs. just the active tab content is displayed.
When i switch the tab nothing is happening… did i missed anything ?
<?php
$this->widget('CTabView',array(
'activeTab'=>'tab1',
'tabs'=>array(
'tab1'=>array(
'title'=>'Static tab',
'content'=>'Content for tab 1'
),
'tab2'=>array(
'title'=>'Render tab',
'content'=>'Content for tab 2'
),
'tab3'=>array(
'title'=>'Url tab',
'content'=>'Content for tab 3'
)
),
'htmlOptions'=>array(
'style'=>'width:500px;'
)
));
?>
would be nice if someone can help me.
Thanks in advance