473,503 Members | 1,803 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

target-new:tab

I want to make a page open a link in a new tab when the user clicks
it. Doing some browsing and experimentation, I found that this code:

<a href="myDocument.html"
target="new"
style="target-name: new; target-new:
tab;"my document </a>

works in Firefox 2 but not in IE 7.

Is there another way to do it that will work across at least these two
browsers? Or is it something that's not supported and that I would be
better off not trying? Thanks.
Jun 27 '08 #1
3 9017
mitch wrote:
I want to make a page open a link in a new tab when the user clicks
it. Doing some browsing and experimentation, I found that this code:

<a href="myDocument.html"
target="new"
style="target-name: new; target-new:
tab;"my document </a>

works in Firefox 2 but not in IE 7.

Is there another way to do it that will work across at least these two
browsers? Or is it something that's not supported and that I would be
better off not trying? Thanks.
Asked a million times, conservative estimate. Answer is No. You can
neither force a new tab or a new window. It is a user setting. Work in
*your* Firefox only because *your* Firefox is set to open new windows in
a new tab. My SeaMonkey can be set to open all new windows in my
existing window thus nullifying the action entirely...

Basically it is bad form to open a link in a new window or tab on a
user, let them make that decision:

http://www.useit.com/alertbox/9605.html
Top Ten Mistakes in Web Design (Jakob Nielsen's Alertbox)
--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jun 27 '08 #2
Thanks. I did search, with google on the web and again inside this
group, before asking.

- Mitch
Asked a million times, conservative estimate. Answer is No. You can
neither force a new tab or a new window. It is a user setting. Work in
*your* Firefox only because *your* Firefox is set to open new windows in
a new tab. My SeaMonkey can be set to open all new windows in my
existing window thus nullifying the action entirely...

Basically it is bad form to open a link in a new window or tab on a
user, let them make that decision:

http://www.useit.com/alertbox/9605.html
Top Ten Mistakes in Web Design (Jakob Nielsen's Alertbox)

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com
Jun 27 '08 #3
mitch wrote:
Thanks. I did search, with google on the web and again inside this
group, before asking.
Really? Not sure I believe you. If you had, you would also learn about
not top posting in Usenet and trimming signatures, and lastly that new
window|tab is a browser user setting and that has been asked and
answered countless times here.

[Your reply should go below this]
>Asked a million times, conservative estimate. Answer is No. You can
neither force a new tab or a new window. It is a user setting. Work in
*your* Firefox only because *your* Firefox is set to open new windows in
a new tab. My SeaMonkey can be set to open all new windows in my
existing window thus nullifying the action entirely...

Basically it is bad form to open a link in a new window or tab on a
user, let them make that decision:

http://www.useit.com/alertbox/9605.html
Top Ten Mistakes in Web Design (Jakob Nielsen's Alertbox)
[and you should trim this when you use GG instead of a newreader]
>--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
Jun 27 '08 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
6692
by: Dave | last post by:
Hello, I have written a website www.pusspaws.net, my problem is in the gallery section. I have coded ... <object type="text/html" data="galleryobj.html" border="0" width="422"...
36
3911
by: randau | last post by:
I would like to use the Link Target attribute, but am inhibited by the likelihood of a newly opened browser window completely hiding the Parent browser window. Thus offering the illusion that...
22
26823
by: Mark Reginald James | last post by:
Hi, I'm trying to use a keyboard event function to change what element gets the focus after tab is pressed in a particular element. Simple HTML that demonstrates the problem is below. When...
3
4130
by: Joshua Ammann | last post by:
Hi, (Using Access 2000) I have two tables, similar to Customers and Orders. (Not an exact parallel, but works for this example.) On a form showing customer data, there is a tab control. One...
11
14974
by: gopal srinivasan | last post by:
Hi, I have a text like this - "This is a message containing tabs and white spaces" Now this text contains tabs and white spaces. I want remove the tabs and white...
3
4158
by: aryayudhi | last post by:
I have a html page that has javascript that works perfectly in IE, but not in Firefox. The use of this javascript to change "Tab" to "Enter" Button. When we press Tab, it is like when we press Enter...
9
24401
by: =?Utf-8?B?Sm9ubw==?= | last post by:
I've developing on xp64, and from a couple other topics I'm supposed to change my target platform to X86 if i wanna do some specific 32bit stuff. However, the option is supposed to be in Project...
1
1542
by: jmcgranahan | last post by:
First, a disclaimer: I am a librarian by trade, but have the responsibility of maintaining/updating our online catalog. I've dealt with some JavaScript before, but I am no expert, so please forgive...
3
3623
by: mumebuhi | last post by:
Hi, How do you make an element (e.g. <div>) to receive focus when pressing TAB key? I understand that some elements such as <selectand <input> by default will receive focus when the TAB key is...
14
3404
by: govind73 | last post by:
Hi all, I would like help on the following problem. I would like to create a form that will have two drop downs (combo or list box), one of which will be a row and the other will be a column. ...
0
7202
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7086
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7280
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
6991
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7460
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
5014
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3154
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
736
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
380
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.