首页 > 代码库 > easyui-dialog

easyui-dialog

easyui-dialog中常用的到的属性
<div id="dialog" class="easyui-dialog" title="添加用户信息"
style="width: 100%;height: 100%;padding: 5px;"
data-options="

iconCls:‘icon-save‘,

modal:true,遮挡效果

closed:true,可否关闭

minimizable:true,最小化按钮

maximizable:true,最大化按钮

closable:true,关闭按钮

draggable: false,可否拖动

buttons:‘#dialog-button‘"按钮组>

 

<div id="dialog-button">
<div align="center">
<a href="javascript:save()" class="easyui-linkbutton"
data-options="iconCls:‘icon-save‘">新增</a> <a
href="javascript:void(0)" class="easyui-linkbutton"
data-options="iconCls:‘icon-cancel‘"
onclick="javascript:$(‘#dialog‘).dialog(‘close‘)">取消</a>
</div>
</div>

 

easyui-dialog