Open Tabbed Window

admin

Administrator
Staff member
I'm using Mozilla 1.2a which is also the underlying engine for Netscape 7. It allows links to be opened (manually by the user) in a new tabbed window in the same instance of the browser, rather than than either replacing the current window or opening a second instance of the browser. I have been unable to find any reference as to how to open a new, tabbed window in these browsers using javascript (or any other method).

The basic code I use is:

win=window.open(href,"thewin")
win.focus()

Here, the variable href is a value passed to a function from a form. Thanks in advance.

Jim Shackelford
 
Back
Top