当前位置:Gxlcms > html代码 > easyui对话框如何显示在浏览器的右下角_html/css_WEB-ITnose

easyui对话框如何显示在浏览器的右下角_html/css_WEB-ITnose

时间:2021-07-01 10:21:17 帮助过:30人阅读

如果直接设置 top、left 又无法适应不同屏幕


回复讨论(解决方案)

easyui 对话框如何显示在浏览器的右下角啊,好像设置div的 right,bottom 不起作用的

$.messager.show({	title:'My Title',	msg:'Message will be closed after 5 seconds.',	timeout:5000,	showType:'slide'});

这个是右下角的弹窗,类似提示的感觉,不知道是不是你需要的

不是,我用的easyui的 dialog

自己解决了。 $('#dlg').window("resize", {top: ($(window).height() - 100), left: ($(window).width() - 200)});

人气教程排行