Possible Duplicate:
JavaScript open in a new window, not tab
How can I open a new window (not a tab!) when I call a window开发者_开发知识库.open function. That window should not contain an toolbar, or menu options.
Thanks
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");
For a list of the parameters available, see here.
You can't override the browser settings to "open all new windows in a tab" in all browsers (thank goodness). This is a duplicate of: JavaScript open in a new window, not tab
精彩评论