JavaScript弹出窗口技巧

时间:2024-01-08 12:48:02
window.open ('faces/newPage.jsp','newwindow','height=300,width=700,
top=50,left=50,toolbar=no,menubar=no,scrollbars=no,
resizable=yes,location=no, status=no, alwaysRaised=yes ,z-look=yes'); window.showModalDialog('faces/newPage.jsp',''
,'dialogWidth=600px; dialogHeight=500px; center=yes;
help=yes; resizable=yes; status=yes; scroll=yes; edge= raised ');

用模式对话框使用:window.showModalDialog
非模式对话框使用:window.open

之前所写,迁移至此

原文链接:http://user.qzone.qq.com/372806800/blog/1336197930