Author |
Topic |
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 08 January 2005 : 14:34:35
|
I was wondering if there was a target= command I could use with mozilla to open a link in a new tab, but in other browsers just open a new window...
ie
instead of <a target="_blank" href="blah blah..... <a target="_tab" href="blah blah... or something.
Even though I have the options in mozilla to open links into a new tab, it dosnt always hold. I have new windows pop up on some links, and its kind-of annoying because I've become used to tabbed browsing. |
-Stim |
|
masterao
Senior Member
Sweden
1678 Posts |
Posted - 08 January 2005 : 17:53:15
|
Unfortunately there are no such attributes in html. It might be possible with javascript, but that is just a guess.
I use an extension which opens a link in a new tab instead of a new window. The extension is called Tabbrowser Preferences 1.x. |
Jan =========== FR Portal Forums | Active Users 4.0.20 Mod |
|
|
Davio
Development Team Member
Jamaica
12217 Posts |
Posted - 08 January 2005 : 19:32:14
|
As far as I know, and I have looked around (not extensively though) you can't do this via code. Maybe in the future. |
Support Snitz Forums
|
|
|
DavidRhodes
Senior Member
United Kingdom
1222 Posts |
Posted - 08 January 2005 : 21:30:23
|
It's part of the personal settings in Mozilla (or FireFox) to open links in new tabs isn't it? So a target="_blank" would open in a new tab in Mozilla if you have it set up to do so. |
The UK MkIVs Forum |
|
|
Da_Stimulator
DEV Team Forum Moderator
USA
3373 Posts |
Posted - 08 January 2005 : 21:38:01
|
quote: Originally posted by DavidRhodes
It's part of the personal settings in Mozilla (or FireFox) to open links in new tabs isn't it? So a target="_blank" would open in a new tab in Mozilla if you have it set up to do so.
This only works when using links from external applications (link in an instant message, desktop link, whatnot) - you have to download the plug-in in order to have links with target="_blank" to open in a new tab instead of a new window.
Unless I'm mistaken. |
-Stim |
|
|
Gremlin
General Help Moderator
New Zealand
7528 Posts |
Posted - 09 January 2005 : 06:26:36
|
I think it's just part of the preferences, same with most of the other tab capable browsers you can tell them to open new windows or new tabs when clicking links. |
Kiwihosting.Net - The Forum Hosting Specialists
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 09 January 2005 : 07:33:56
|
CSS3 wiil introduce this capability with a new target attribute for anchor tags. Just running out the door to work, so I don't have time to track down a link for ye, but a search of the W3C's site should turn it up.
|
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
|
|
Topic |
|