Jquery ui 设置jqueryui的宽度/高度
我对jQueryUI有点陌生 我有:Jquery ui 设置jqueryui的宽度/高度,jquery-ui,height,width,Jquery Ui,Height,Width,我对jQueryUI有点陌生 我有: // dialog profile options $(document).ready(function() { var $dialog = $('<div></div>') .html('This dialog will show every time!') .dialog({ autoOpen: true,
// dialog profile options
$(document).ready(function() {
var $dialog = $('<div></div>')
.html('This dialog will show every time!')
.dialog({
autoOpen: true,
title: 'Basic Dialog'
});
$('#setAccountSettings').click(function() {
$dialog.dialog('open');
// prevent the default action, e.g., following a link
return false;
});
});
//对话框配置文件选项
$(文档).ready(函数(){
变量$dialog=$('')
.html('每次都会显示此对话框!')
.对话({
自动打开:对,
标题:“基本对话框”
});
$('#setAccountSettings')。单击(函数(){
$dialog.dialog('open');
//防止默认操作,例如,跟踪链接
返回false;
});
});
如何将minWidth
设置为600,将minHeight
设置为200?对不起,我对这个有点陌生
谢谢您可以在初始化对话框时将minHeight和minWidth设置为选项
.dialog({
autoOpen: true,
title: 'Basic Dialog',
minWidth: 600,
minHeight: 200
});
有关可用选项的更多信息,请访问卓越!这正是我想要的。