2
可能重复:
JavaScript open in a new window, not tabJavaScript的window.open
我怎么能打开一个新窗口(不是标签!)当我调用window.open功能。 该窗口不应该包含工具栏或菜单选项。
感谢
可能重复:
JavaScript open in a new window, not tabJavaScript的window.open
我怎么能打开一个新窗口(不是标签!)当我调用window.open功能。 该窗口不应该包含工具栏或菜单选项。
感谢
window.open("http://www.google.com",
"name_your_window",
"location=1,status=1,scrollbars=1,resizable=no,width=200,height=200,menubar=no,toolbar=no");
有关可用的参数列表,请参阅here。
您无法在所有浏览器中覆盖浏览器设置以“打开标签中的所有新窗口”(谢天谢地)。这是一个重复的:JavaScript open in a new window, not tab