Forum Moderators: open
I'm have a few links that should all open in the same window or tab.
To accomplish this I've given the window a name like in this example code:
<a href="#" onClick='window.open("http://somesite.com", "mywindow", "");'>link 1</a>
<a href="#" onClick='window.open("http://someothersite.com", "mywindow", "");'>link 2</a>
This works OK in internet explorer, but firefox always opens a new tab/window.
Any ideas?
Thanks
New pages should be opened in
1) a new window
2) a new tab
but the options are radio buttons, so either one needs to be selected.
The behavior is the same in both scenarios however, a new tab/window is always opened, evn though the window.open name attribute is set to the same shared name.
This works OK in internet explorer, but firefox always opens a new tab