js 页面跳转 新窗口打开

页面跳转:
Window.showModalDialog(url,width,height); 弹出一个html文档的模式对话框
Parent.window.document.location.href = url. 父级页面重新跳转
Document.location.href = url 本页面重新跳转

Window.open("url","name",其他参数) ; 打开一个页面, 参数都是可选的, 新开的页面访问原来的页面用 window.opener

猜你喜欢

转载自www.cnblogs.com/daniel123/p/11939116.html