请问如何使用window.open方法打开新窗口?

更新于
2026-09-29 09:52:13
1阅读来源:SEO教程
  • 内容介绍
  • 文章标签
  • 相关推荐

本文共计147个文字,预计阅读时间需要1分钟。

请问如何使用window.open方法打开新窗口?

python简化后的代码,移除数组和部分参数window.open('http://isunlandUI/planAndAssessInCloud/standard/scheduleManager/rPlanManagerOtherEdit.ht', 'newwindow', 'height=600,width=1100,top=100,left=200,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no')

请问如何使用window.open方法打开新窗口?

window.open

//window.open(__ctx + '/isunlandUI/planAndAssessInCloud/standard/scheduleManager/rPlanManagerOtherEdit.ht','newwindow','height=600,width=1100,top=100,left=200,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no'); _showModalDialog(__ctx + '/isunlandUI/planAndAssessInCloud/standard/scheduleManager/rPlanManagerOtherEdit.ht',"",1100,540,"",""); var id = event.id; //任务名称查询本条记录 _showModalDialog(__ctx + '/isunlandUI/planAndAssessInCloud/standard/scheduleManager/rPlanManagerOther/getById.ht',"",820,500,"",id); //window.open(encodeURI(__ctx + '/isunlandUI/planAndAssessInCloud/standard/scheduleManager/rPlanManagerOther/getById.ht?id='+id),'newwindow','height=500,width=820,top=100,left=200,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');

本文共计147个文字,预计阅读时间需要1分钟。

请问如何使用window.open方法打开新窗口?

python简化后的代码,移除数组和部分参数window.open('http://isunlandUI/planAndAssessInCloud/standard/scheduleManager/rPlanManagerOtherEdit.ht', 'newwindow', 'height=600,width=1100,top=100,left=200,toolbar=no,menubar=no,scrollbars=no,resizable=no,location=no,status=no')

请问如何使用window.open方法打开新窗口?

window.open

//window.open(__ctx + '/isunlandUI/planAndAssessInCloud/standard/scheduleManager/rPlanManagerOtherEdit.ht','newwindow','height=600,width=1100,top=100,left=200,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no'); _showModalDialog(__ctx + '/isunlandUI/planAndAssessInCloud/standard/scheduleManager/rPlanManagerOtherEdit.ht',"",1100,540,"",""); var id = event.id; //任务名称查询本条记录 _showModalDialog(__ctx + '/isunlandUI/planAndAssessInCloud/standard/scheduleManager/rPlanManagerOther/getById.ht',"",820,500,"",id); //window.open(encodeURI(__ctx + '/isunlandUI/planAndAssessInCloud/standard/scheduleManager/rPlanManagerOther/getById.ht?id='+id),'newwindow','height=500,width=820,top=100,left=200,toolbar=no,menubar=no,scrollbars=no, resizable=no,location=no, status=no');