If setting top and left directly cannot adapt to different screens
How to display the easyui dialog box in the browser In the lower right corner, it seems that setting the right and bottom of the div does not work
$.messager.show({ title:'My Title', msg:'Message will be closed after 5 seconds.', timeout:5000, showType:'slide'});
No, I used easyui’s dialog
and solved it myself. $('#dlg').window("resize", {top: ($(window).height() - 100), left: ($(window).width() - 200)});