JavaScript弹出窗口技巧

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

posted @ 2017-01-06 10:50  风来风往风伤(TiAmo)  阅读(143)  评论(0编辑  收藏  举报