Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I open a link in a new "tab" (IE7) ?

Status
Not open for further replies.

JohnnyBGoode

Programmer
May 1, 2002
76
CA
The "window.open()" method will open a link in a new window. In IE7, how can I open a link within the same window, but in another tab? Also, how can I distinguish which browser version the user is on?

Thank you in advance.
 
Programmatically, you can't. At least not at this time. The user controls how the window will open. You could use a normal link and instruct the user to hold down their Ctrl key while clicking or you could disable a normal click and require that they right-click, but that's about it. It's still up to the user.

Adam
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top