Home  >  Article  >  Web Front-end  >  easyui 对话框如何显示在浏览器的右下角_html/css_WEB-ITnose

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

WBOY
WBOYOriginal
2016-06-24 11:38:361399browse

如果直接设置 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)}); 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn