CJuiDialog show / hide options


I’m learning Yii and I have a question:

On the code below, how do I make the direction of slide effect be from top to down? Actually, by default its from left to right.

$this->beginWidget('zii.widgets.jui.CJuiDialog', array(        



                            'title'=>'Login / Register',




                            'closeOnEscape' => true,                                                        









Thanks in advance!

Not sure but maybe this could work





Found it on this demo page

or simple try





Take also a look at




First of all, thank you very much for the quick reply!

I tried both ways, but didnt worked. I think it have something with the quotes. Any idea?

I’ve looking into JQuery UI documentation, but i dont know how to pass this parameters to hide / show in a Yii way.


From what I’ve seen in the JQuery site if you change you






It should work how you want it.