Default position of Cjuidialog is ‘center’. I want to change it
to be for example left = 300px, top = 50px.
I have consulted original documentation of JQuery UI but my problem
is that I do not know the right syntax to use in yii.
Here is my code and what I’ve tryed so far without success.
$this->beginWidget('zii.widgets.jui.CJuiDialog', array(
'id'=>'PaymentmethodNotAvailable',
'options'=>array(
'title'=>'Information',
'width'=>475,
'height'=>225,
'autoOpen'=>false,
'resizable'=>true,
'modal'=>true,
.
.
.
'position'=>array('left'=>300, 'top'=50), <-- not working
'left' => 300, <-- not working either
'top' => 50, <-- not working either
.
.
.
'overlay'=>array(
'backgroundColor'=>'#000',
'opacity'=>'3.5'
),
'buttons'=>array(
),
),
));
Any help is highly appreciated.
thxs