[英]jQuery Dialog box Drop Up
jQuery( "#dialog" ).dialog({ width: 'auto', zIndex: 9999, height: 370, resizable: false, draggable: false,
open :function(event, ui) {
jQuery('body').addClass('black-overlay');
},
show: { effect: 'drop', direction: "up", mode: 'slow'},
close:function(event, ui) {
jQuery('body').removeClass('black-overlay');
}
});
I want Dialog Window Should be Drop From Starting of Browser window and No border to that dialog box 我想要对话框窗口应该从浏览器窗口的开始和没有边框到该对话框
and also drop from top Should be slow 并且从顶部掉落应该很慢
Currently dialog box is Drop up very fastly and not from Starting of Browser window 当前对话框是快速下载而不是从浏览器启动窗口
Can any one help me in this 任何人都可以帮助我
reduce the default animation speed to exaggerate the effect 降低默认动画速度以夸大效果
$.fx.speeds._default = 3000;
Put this code just before: 把这个代码放在之前:
jQuery( "#dialog" ).dialog({...
您可以向show属性添加持续时间:1000
show: { effect: 'drop', direction: "up", mode: 'slow' ,duration:1000}
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.