Yii弹出层,包装了JQuery的JDialog,使用很方便。Yii组件功能太强大,强大到无法自拔
$this->beginWidget('zii.widgets.jui.CJuiDialog', array( 'id' => 'mydialog', 'options' =>array( 'title' => '管理', 'width' => '600px', 'height' => 'auto', 'autoOpen' => true, ), )); $form=$this->beginWidget('CActiveForm');?> form表单 <?php $this->endWidget(); $this->endWidget('zii.widgets.jui.CJuiDialog');