Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Link that opens in a new tab/wrindow
Old 04-10-2009, 07:07 AM Link that opens in a new tab/wrindow
Junior Talker

Posts: 1
Trades: 0
Hi,

I have used the below to get a link to open in a new tab/window... but it doesnt work.

Anyone see why or can offer an alternative?

Thanks

Antony

<ahref="http://www.rentalcalendarsdirect.com/display/yview/4388" target="_blank">
antonymose is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 04-10-2009, 08:31 AM Re: Link that opens in a new tab/wrindow
Average Talker

Posts: 17
Name: Dmitry
Trades: 0
<a href="http://www.rentalcalendarsdirect.com/display/yview/4388" target="_blank">

you miss SPACE before href
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
dimok is offline
Reply With Quote
View Public Profile
 
Old 04-10-2009, 09:37 AM Re: Link that opens in a new tab/wrindow
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
And WHY are you opening a new window or tab ? What doctype are you using ? The target attribute is NOT valid for XHTML. Usability wise, opening new windows is just not a good idea in general.
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE

LadynRed is offline
Reply With Quote
View Public Profile
 
Old 04-17-2009, 12:38 AM Re: Link that opens in a new tab/wrindow
Novice Talker

Posts: 6
Name: Whitney
Location: Dallas, Texas
Trades: 0
Quote:
Originally Posted by LadynRed View Post
And WHY are you opening a new window or tab ? What doctype are you using ? The target attribute is NOT valid for XHTML. Usability wise, opening new windows is just not a good idea in general.
I admit I don't know a lot. But, I do think there could be cases where that would be ideal. For instance, I have the one external link on my portfolio site open in a new window so if potential employers click on it they won't potentially lose my portfolio site and forget the link. What made me think to do this was talking with a principal from my old firm who had a tendency to lose sites he was on due to them not opening in a new page. He told me this after trying to show me a portfolio he had remembered looking at but had lost after clicking on a link. However, I do not do this on my forum site since I know the trend is to allow people to choose where the link opens.

Is there a valid way to make a link open in a new page?
WHPFord is offline
Reply With Quote
View Public Profile Visit WHPFord's homepage!
 
Old 04-18-2009, 04:46 AM Re: Link that opens in a new tab/wrindow
nayes84's Avatar
Extreme Talker

Latest Blog Post:
Difference between ASP And JSP
Posts: 232
Name: John
Location: Tokyo
Trades: 0
Quote:
Originally Posted by LadynRed View Post
And WHY are you opening a new window or tab ? What doctype are you using ? The target attribute is NOT valid for XHTML. Usability wise, opening new windows is just not a good idea in general.
wonder why target="_blank" is not valid XHTML. though it is very essential.

even I checked the source of this page and found it is used to make up the link in your signature
http://www.carolina-corvettes.com

don't thing webmaster-talk would use it if it is not good
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE

if(I'm("Helpful")) Add_Talkupation("nayes84");
nayes84 is offline
Reply With Quote
View Public Profile
 
Old 04-21-2009, 01:29 PM Re: Link that opens in a new tab/wrindow
LadynRed's Avatar
Defies a Status

Posts: 10,017
Location: Tennessee
Trades: 0
Quote:
But, I do think there could be cases where that would be ideal. For instance, I have the one external link on my portfolio site open in a new window so if potential employers click on it they won't potentially lose my portfolio site and forget the link.
First, you are short-circuiting the "back" button with a new window. It has been shown over and over again that users know how to use their BACK button and they use it liberally. Any user who 'forgets' your URL should just be able to use their BACK button to get back to your site.

http://www.smashingmagazine.com/2008...n-new-windows/

Quote:
wonder why target="_blank" is not valid XHTML. though it is very essential.
I suggest you look at the XHTML spec, the "target" attribute it is NOT valid. http://evolt.org/article/The_XHTML_T...953/index.html
Quote:
even I checked the source of this page and found it is used to make up the link in your signature
I have no control whatsoever over the forum software here, but that doesn't make it a valid attribute for XHTML !!
__________________
Web Goddess & Web Standards Evangelist :) - Tables Be Gone !!

Please login or register to view this content. Registration is FREE


Please login or register to view this content. Registration is FREE


Last edited by LadynRed; 04-21-2009 at 01:30 PM..
LadynRed is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Link that opens in a new tab/wrindow
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.93006 seconds with 12 queries