Hello can anyone help me with CJuiDialog I tried to the following:
<?php
$this->beginWidget(‘zii.widgets.jui.CJuiDialog’, array(
'id' => 'mydialog',
'options' => array(
'autoOpen' => false,
'buttons' => array(
"1" => 'js:function(){ setOccupancy(1);}',
"2" => 'js:function(){ setOccupancy(2);}',
"3" => 'js:function(){ setOccupancy(3);}',
"4" => 'js:function(){ setOccupancy(4);}',
"5" => 'js:function(){ setOccupancy(5);}',
"6" => 'js:function(){ setOccupancy(6);}',
"7" => 'js:function(){ setOccupancy(7);}', ),
),
));
$this->endWidget(‘zii.widgets.jui.CJuiDialog’); ?>
<?php echo CHtml::endForm(); ?>
the widget work fine but i need to add style to the buttons and all widget, i didn’t know how to chenge the css :S
the zii documentation about this is not so clear :S I’ll appreciate any fast reply :S