Posted By: eddwo | Mar 31st, 2006 @ 1:13 AM
page 1 of 1
Comments: 10 | Views: 26999
eddwo
eddwo
Wheres my head at?
How do I go about making all external URLs to open in
a new tab in IE7 instead of a new window?

Or at least open a new tab programmatically from .Net?
At the moment I have:

Process launchprocess = new Process();
launchprocess.StartInfo.FileName = m_currentItem.Link;
launchprocess.StartInfo.Verb = "open";
launchprocess.Start();
Strangely this always produces a new tab on my home machine, but still produces a new window on my work machine. Sad

Both have 20th March IE7 and "Always open pop-ups in new tab" set. But there doesn't seem to be an option to explicitly set links from other apps to open a tab instead of a window.
mVPstar
mVPstar
I'm white because I smelt an onion.
HTML version: Add target="_blank" to your <a> tag.
PetKnep
PetKnep
IE7 RTM'd yay!
The always open popups setting is for internal navigations. There's a separate set of settings for handling external links. I can't remember whether that made it into the MIX beta.

My change says the 15th, so it should be in there. You don't see "Open links from other programs:" in the tabs dialog in inetcpl?
W3bbo
W3bbo
The Master of Baiters
mVPstar wrote:
HTML version: Add target="_blank" to your <a> tag.


The target="" attribute is illegal in XHTML1.1, it is valid if you import the frames or iframes modules, however; but even then IIRC/AFAIK the _blank attribute value is still illegal.
PetKnep
PetKnep
IE7 RTM'd yay!
Well, guess they didn't port my changes to the MIX build branch in time. I was working on it pretty close to that deadline.

The old setting was inetcpl->Advanced->Reuse windows for launching shortcuts. The default was broken when I put my fix in, you may have to check/uncheck the box once for it to register. I believe if you have that checked it will open outside links in a new tab.

If my IE changes are there, but just inetcpl didn't get updated. You can change HKCU\Software\Microsoft\Internet Explorer\TabbedBrowsing -> ShortcutBehavior to 0, 1, 2.
0 is new window
1 is new tab
2 is stomp current
Maurits
Maurits
AKA Matthew van Eerde
W3bbo wrote:
mVPstar wrote:HTML version: Add target="_blank" to your <a> tag.


The target="" attribute is illegal in XHTML1.1, it is valid if you import the frames or iframes modules, however; but even then IIRC/AFAIK the _blank attribute value is still illegal.


ECMAScript hack...
PetKnep wrote:
Well, guess they didn't port my changes to the MIX build branch in time. I was working on it pretty close to that deadline.

The old setting was inetcpl->Advanced->Reuse windows for launching shortcuts. The default was broken when I put my fix in, you may have to check/uncheck the box once for it to register. I believe if you have that checked it will open outside links in a new tab.

If my IE changes are there, but just inetcpl didn't get updated. You can change HKCU\Software\Microsoft\Internet Explorer\TabbedBrowsing -> ShortcutBehavior to 0, 1, 2.
0 is new window
1 is new tab
2 is stomp current


Thank You! This has been annoying me to no end. I'm currently using public beta2 and I went into inetcpl->Advanced->Reuse windows for launching shortcuts and unchecked, Applied then checked Applied and it finally started working like I expected it to. Yeaaaa!
Having a problem getting IE7 to open links in a new tab. I downloaded and installed IE7 on two different PCs. Both have the same settings, but on right-click over a link, one offers to open in a new tab. The other doesn't.

I checked the entry in the registry and it is set to a 1 (new tab). But everything I open opens in the same window.

Using the RC1 version, but it did the same thing in Beta.

Any ideas?
CannotResolveSymbol
CannotResolveSymbol
{insert caption here}
Are you perhaps running an old version of Google Desktop?
page 1 of 1
Comments: 10 | Views: 26999
Microsoft Communities