最初接触的就是新开一个window窗体,这种方式应该是比较常见的,就是试用window的打开方式open, window.open("163.com","newwindow","height=450px...status=no");
项目中具体试用
window.open(hrbUrl+"/jkda.shtml?sfzh="+sfzh, 'newwindow', 'height=heigthvalue, width=widthvalue, top=topvalue, left=leftvalue, toolbar=no, menubar=no, scrollbars=no, resizable=no,location=no, status=no');
最近看了一种新的方式,确实还是依赖window,只是参数不太一致吧,实现方式还是差不多的,这种事借助window弹出框Dialog ,window.showModelessDialog("URL..",window.dialogArguments,"parameter");
项目中具体试用
window.showModelessDialog(hrbUrl+"/jkda.shtml?sfzh="+sfzh,window.dialogArguments,"dialogWidth=850px;dialogHeight=600px;resizable=0;");
探索window弹出框Dialog的新用法
本文详细介绍了在项目中使用window弹出框Dialog的两种方式:一种是通过window.open实现窗口打开,另一种是借助Dialog弹出框。通过具体的代码示例展示了如何在项目中灵活运用这两种方法,包括参数的设置和实例应用。
1041

被折叠的 条评论
为什么被折叠?



