CJuiDialog position

Hi guys,

I have searched every where, but nothing about CJuiDialog position, I want the dialog to be the place where I click.


        'title'=>'Enter info',


	'show' => 'blind',

        'position' => ??,

	'buttons' => array(




any suggestions are appreciated.

it can be done by js with css on your own.

ok,thank you for your pointer.

refer to the jquery ui dialog documentation


blinjie2680, try to set position when call dialog in link parameter onclick:


'onclick'=>'$("#mydialog").dialog("option", "position", "left").dialog("open"); return false;',


I wrote about it here - http://loco.ru/materials/321-yii-cjuidialog-dlya-sozdaniya-modalnyh-okon