CTabView, tabs as table not as list

Hello.

As in topic title my problem is that I need Tabs in CTabView to be <table>…</table> and not as <ul><li>…</ul>.

Is there any way to change it?

Why do I need it? - I need tabs to behave as it would be possible in <table> version, which is impossible in <ul> becouse in <ul> things can’t be vertically positioned (or maybe someone knows a trick to make <ul> to behave simmilary to tab to achieve that Tab will grow a bit bigger when hovering - grow up, not down, like it would happen in table cell with property valign=“bottom”)

If my explanation is difficult then i’ll show how it works when 1 tab grows bigger then others now:




______ _________ _________

       Notactive NotActive

Active



And what I need is:




______ 

       _________ _________

Active Notactive Notactive



did you setup view foreach data?

like




array(

    'tab1'=>array(

          'title'=>'tab 1 title',

          'view'=>'viewone',

          'data'=>array('model'=>$model),

    ),

    'tab2'=>array(

           'title'=>'tab 1 title',

          'view'=>'viewtwo',

          'data'=>array('model'=>$model),

    ),

)




and make views in controller folder,

viewone.php

viewtwo.php

and put data of model in there

I ment only “Tabs”, not their content :)