jquery ui 的弹出窗体 dialog 高度会产生变化
来源:互联网 发布:车牌识别软件源代码 编辑:程序博客网 时间:2024/05/17 07:36
jquery ui 的弹出窗体 dialog 。有时会出现当再次 打开或在父窗体拖动时,
高度会发生变化。则需要进行设置。
open , dragstop 事件处理
$('#showResult').dialog({ height: 320, width: 300, position: ['right'],
open: function (event, ui) {
// Height setter has no effect after init either
$(this).dialog("option", "height", 320);
// Width setter works after initialization too
$(this).dialog("option", "width", 300);
},
dragStop: function (event, ui) {
$(this).dialog("option", "height", 320);
// Width setter works after initialization too
$(this).dialog("option", "width", 300);
}
});
参考方法:
http://api.jqueryui.com/dialog/
- jquery ui 的弹出窗体 dialog 高度会产生变化
- jQuery UI弹出Dialog对话框
- jQuery UI Dialog 创建弹出对话框的一些参数
- jQuery UI Dialog 创建友好的弹出对话框
- Jquery UI dialog弹出层插件
- JQuery UI 弹出窗口(Dialog)
- jquery ui(三)弹出窗口 dialog
- jquery ui dialog弹出div层对话框
- 在ASP.NET下使用jQuery UI下的Dialog产生提交空值问题
- jQuery UI dialog 的使用
- jQuery UI dialog 的使用
- jQuery UI dialog 的使用
- jQuery UI dialog 的使用
- jQuery UI dialog 的使用
- jQuery UI dialog 的使用
- jquery easy ui 新弹出的dialog 每次都显示第一次load的数据
- jQuery UI Dialog组件实现简单的弹出层(modal)
- 弹出窗口—jQuery UI Dialog和artDialog
- PL/SQL初学
- 跨站点脚本编制描述及解决方法
- Java获取操作系统相关信息
- Delphi in a Unicode World Part II: New RTL Features and Classes to Support Unicode
- Activity和Task
- jquery ui 的弹出窗体 dialog 高度会产生变化
- SOCKET通信中TCP、UDP数据包大小的确定
- oracle提示TNS:无监听程序的解决办法
- 表格中图片内容居中
- 登录函数代码 --delphi
- android 图片拖动简单例子
- Mybatis学习
- Hibernate 继承映射
- 工厂模式