JavaScript open in a new window, not tab


I have a select box that calls when an item is selected. Firefox will open the page in a new tab by default. However, I would like the page to open in a new window, not a new tab.

How can I accomplish this?

Best Solution

Specify window "features" to the open call:, windowName, "height=200,width=200");

When you specify a width/height, it will open it in a new window instead of a tab.

See for all the possible features.