最初接触的就是新开一个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;");