• Welcome to Tux Reports: Where Penguins Fly. We hope you find the topics varied, interesting, and worthy of your time. Please become a member and join in the discussions.

How to compose a URL to open a link in a new tab

M

Michael

Flightless Bird
Hi,
Is there a way to add an instruction to a URL to open the link/page in a new
tab in Internet Explorer 8 ?

We want to have all links that open off our home page open in new tabs in IE8.

Regards
Michael
 
D

Don Varnau

Flightless Bird
Hi,
<a href="http://www.somewebsiteoranother.com/" target="_blank">

Look for "The target Attribute" at
http://www.w3schools.com/html/html_links.asp

Whether this opens a new tab or a new window depends on the tab settings of
the user's computer.

Hope this helps,
Don
[MS MVP- IE]


"Michael" <michael.green@solventgreen.com.nospam> wrote in message
news:28A54B3C-CAEE-44AF-8382-9FC0A2C75C73@microsoft.com...
> Hi,
> Is there a way to add an instruction to a URL to open the link/page in a

new
> tab in Internet Explorer 8 ?
>
> We want to have all links that open off our home page open in new tabs in

IE8.
>
> Regards
> Michael
 
J

Jeff Strickland

Flightless Bird
"Don Varnau" <don_04[at]varnau[dot]org> wrote in message
news:-OqMIsNykKHA.2164@TK2MSFTNGP02.phx.gbl...
> Hi,
> <a href="http://www.somewebsiteoranother.com/" target="_blank">
>
> Look for "The target Attribute" at
> http://www.w3schools.com/html/html_links.asp
>
> Whether this opens a new tab or a new window depends on the tab settings
> of
> the user's computer.
>


Really?

My browser will open a window or a tab, and I thought it was controlled by
the page that comes up.

I have my browser set to open pages in a new tab, but some pages make a new
window, so I just thought that there was code that told the browser to
ignore the settings and open a window. If the page does not care, then it
observes the settings I have, but if the coders want, they can force a new
window, despite what I think I want.

Frankly, I find it annoying that some coder someplace is allowed to change
my settings for his own warped sense of grandeur. If I want new pages to be
in a tab, then they ought to always be in a tab.

So, to answer the OP's question, yes there is a way to force IE to open a
new window. I don't know what it is, but it's there.
 
R

rob^_^

Flightless Bird
javascript:window.open(url,'_blank', features);
<a href="#" onclick="javascript:window.open(url,'_blank',features); return
false;">Open in new sized window (depending upon your popup blocker settings
for scripted window size</a>

"Jeff Strickland" <crwlrjeff@yahoo.com> wrote in message
news:higmse$1gq$1@news.eternal-september.org...
>
> "Don Varnau" <don_04[at]varnau[dot]org> wrote in message
> news:-OqMIsNykKHA.2164@TK2MSFTNGP02.phx.gbl...
>> Hi,
>> <a href="http://www.somewebsiteoranother.com/" target="_blank">
>>
>> Look for "The target Attribute" at
>> http://www.w3schools.com/html/html_links.asp
>>
>> Whether this opens a new tab or a new window depends on the tab settings
>> of
>> the user's computer.
>>

>
> Really?
>
> My browser will open a window or a tab, and I thought it was controlled by
> the page that comes up.
>
> I have my browser set to open pages in a new tab, but some pages make a
> new window, so I just thought that there was code that told the browser to
> ignore the settings and open a window. If the page does not care, then it
> observes the settings I have, but if the coders want, they can force a new
> window, despite what I think I want.
>
> Frankly, I find it annoying that some coder someplace is allowed to change
> my settings for his own warped sense of grandeur. If I want new pages to
> be in a tab, then they ought to always be in a tab.
>
> So, to answer the OP's question, yes there is a way to force IE to open a
> new window. I don't know what it is, but it's there.
>
>
>
>
>
>
>
 
Top