There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware missing monitor network networking outlook outlook 2003 outlook 2007 outlook express password popups problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Web Design & Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
New tab instead of new window


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
KimbH's Avatar
Member with 32 posts.
 
Join Date: Oct 2007
05-Oct-2007, 12:30 PM #1
New tab instead of new window
Hello, New here

I was wondering if with HTML if anyone know if there has been a way made yet to open windows in a new tab. I know the target=blank or target=new works for a new window but it would be nice if you could open a new tab instead of a whole new window.

Anyone figure this out yet? I googled it but could not find any answers.

Thanks
brez's Avatar
Senior Member with 106 posts.
 
Join Date: Aug 2007
05-Oct-2007, 03:02 PM #2
It would be useless to submit a tab insert instead of window as not all browsers have tab option.
dsctech's Avatar
Junior Member with 4 posts.
 
Join Date: Oct 2007
Experience: Advanced
05-Oct-2007, 04:19 PM #3
No New Tab
There is not any HTML code that will make a link open in a new tab. Many browsers do not have tabs at all. Sorry. I've been searching around for this answer myself, and I have never found a solution. Maybe some day it will exist...
namenotfound's Avatar
Computer Specs
Distinguished Member with 2,049 posts.
 
Join Date: Apr 2005
Location: New York
Experience: I know what I know, I am what I am.
05-Oct-2007, 07:02 PM #4
That's up to the user. Some can pick the "open new windows in tabs" option in Firefox for example, then target="_blank" links will open in new tabs for them. Most of the time they can just click the middle button to open in a new tab.

This isn't something you can control, it's up to the users if they want it open in a new tab or new window.
__________________
------------------------
| 404: Name Not Found |
------------------------
PLEASE NOTE: If I happen to help you in a post, or just simply reply to it, doesn't mean I want to be bombarded with PMs. I answer all questions in posts, not in PMs. Thank you, and have a good day.

<?php $h = 'Hello '; $w = 'World'; echo $h.$w; ?>

My Favorite Editors:
Windows: Crimson Editor
Mac: Taco HTML Edit
Linux: gPHPEdit
MMJ's Avatar
MMJ MMJ is offline
Distinguished Member with 3,196 posts.
 
Join Date: Oct 2006
09-Oct-2007, 12:54 PM #5
jbutton7's Avatar
Member with 99 posts.
 
Join Date: Nov 2003
09-Oct-2007, 01:00 PM #6
Pulling the good stuff out of the links MMJ posted, w3 states:

If a user wanted to have new windows open in new tabs instead, she could use the following user style sheet to do so:

* { target-new: tab ! important }

The above code is CSS3. I'd test it for you but I do not have a test case readily available.
KimbH's Avatar
Member with 32 posts.
 
Join Date: Oct 2007
09-Oct-2007, 02:00 PM #7
Quote:
Originally Posted by MMJ
Brilliant find on google links. I searched for an hour and never found anything. I going to have to read this page you posted.
MMJ's Avatar
MMJ MMJ is offline
Distinguished Member with 3,196 posts.
 
Join Date: Oct 2006
09-Oct-2007, 02:36 PM #8
Quote:
Originally Posted by KimbH
Brilliant find on google links. I searched for an hour and never found anything. I going to have to read this page you posted.
And all I searched was the thread title. Go figure.

http://www.google.com/search?q=New+t...+of+new+window
KimbH's Avatar
Member with 32 posts.
 
Join Date: Oct 2007
11-Oct-2007, 04:31 AM #9
Quote:
Originally Posted by MMJ
And all I searched was the thread title. Go figure.

http://www.google.com/search?q=New+t...+of+new+window
I am horrible at finding thing on search engine!


I did a test at http://www.momsbreak.com/tab.html with <a target="tab" href="http://www.momsbreak.com">Go
Home</a> and it works on foxfire and netscape which worked great. However IE opens in a new window.

I will do some reading on the link google search to see if I can figure this out.

Thanks
Kimberly

Last edited by KimbH : 11-Oct-2007 04:38 AM.
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 01:23 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.