Get Paid to Participate - up to $1 per post!     Twitter     Facebook     Google+
Hosting Discussion
 

forgot password?



Reply


Old
  Post #1 (permalink)   09-12-2011, 04:36 AM
HD Newbie
 
Join Date: Jul 2011
Posts: 3

Status: Milo Odin is offline
<a href='url.com'>Text</a>
it's a example of link + anchor text in html I want a code for open in new tab can anyone tell me the code (sorry for my bad English)
 
 


Old
  Post #2 (permalink)   09-12-2011, 06:12 AM
HD Guru
 
HostMantis's Avatar
 
Join Date: Feb 2010
Posts: 691

Status: HostMantis is offline
Quote:
Originally Posted by Milo Odin View Post
<a href='url.com'>Text</a>
it's a example of link + anchor text in html I want a code for open in new tab can anyone tell me the code (sorry for my bad English)
There is no html code for this yet. The only option you have is still just opening the link in a new window: target="_blank"
__________________
HostMantis Affordable Web Hosting
Shared Reseller 24/7/365 Support Instant Activation
CloudLinux Softaculous Premium CloudFlare Multi PHP
HostMantis on: Facebook Twitter
 
 


Old
  Post #3 (permalink)   09-12-2011, 04:27 PM
HD Amateur
 
Join Date: Sep 2011
Location: England
Posts: 52
Send a message via MSN to PeterKelly Send a message via Yahoo to PeterKelly

Status: PeterKelly is offline
Usually though if you do use

<a href="http://www.yoursite.com" target="_blank">Title</a>

That will open in the default which most modern browsers use tabs but as was said there is no option to specifically say this.
__________________
Peter Kelly - Want to get in touch? Contact me via the info on my profile.
PK-Host - Shared, Resellers & ShoutCAST Servers.
cPBackup - Ensure your WHM accounts are backed up safely and automatically.
 
 


Old
  Post #4 (permalink)   09-27-2011, 10:10 PM
HD Newbie
 
Join Date: Dec 2010
Location: Maryland
Posts: 19

Status: jewin is offline
I was thinking about this one last night. If you want to pop something in front of your users, its more user friendly to do it in the same window (i.e. with ajax) than to mess with their browser windows and pop a new window. Something to consider.
__________________
Improve Your Website Security at HostingArmor.com
 
 
 


Old
  Post #5 (permalink)   09-30-2011, 02:29 PM
HD Newbie
 
Join Date: Sep 2011
Posts: 32

Status: kpmedia is offline
Quote:
Originally Posted by jewin View Post
its more user friendly to do it in the same window (i.e. with ajax)
Ehh, maybe, maybe not. It depends on how well-coded it is.
I'm thinking of a lightbox/thickbox-esque type JS/ajax. Those vary highly.
I use two on two sites. It's pretty decent.

But you could also easily annoy your visitors.
__________________
Need a good host? See my Suggested Hosts List (NOT another stupid affiliate list!)
FAQ: Need a HostGator alternative? And who is EIG?
Using hosts since 1995.
 
 
 


Old
  Post #6 (permalink)   10-28-2011, 04:44 PM
HD Amateur
 
Join Date: Sep 2011
Posts: 83

Status: coloradojaguar is offline
I believe that as much as possible you should open a new browser window. Especially if you are doing and off topic link. I don't want to lose anyone once I get them to my site. I would rather my users close the new window rather than close my main because they don't like the link content.
__________________
Hosted solutions provider since 1998 - Serving Houston, Dallas, Atlanta, NJ, and the UK
JaguarPC.com - Managed Hybrid Servers| SSD|Managed VPS Hosting | Dedicated Servers
Reseller US/UK| Cloud
 
 
 


Old
  Post #7 (permalink)   11-04-2011, 10:04 AM
HD Newbie
 
Join Date: Jul 2011
Posts: 27

Status: mountspot is offline
You use the target attribute for "a" tag in html.
__________________
---
Support Manager
Mountspot Ltd.
Become our fan at facebook for exclusive specials!
 
 
 


Old
  Post #8 (permalink)   02-21-2012, 02:49 AM
HD Newbie
 
Join Date: Jan 2012
Posts: 25

Status: gen.anovlis28 is offline
There is no HTML code yet which is for opening a new tab.You can open the tab in a new window.You can use this:target="_blank". As for advice,if you want to open something in front of your users,then its better to open it in the same window rather than opening it in a new tab.
 
 
 


Old
  Post #9 (permalink)   02-28-2012, 01:45 PM
HD Newbie
 
Join Date: Jun 2011
Posts: 23

Status: Delgado2009 is offline
Quote:
Originally Posted by kpmedia View Post
Ehh, maybe, maybe not. It depends on how well-coded it is.
I'm thinking of a lightbox/thickbox-esque type JS/ajax. Those vary highly.
I use two on two sites. It's pretty decent.

But you could also easily annoy your visitors.
Too much JS are not good for your load time website. Just use target="_blank" and you will save space and "load time".
__________________
DotBlock - Cloud VPS Hosting / Scalable block technology. Build VPS to fit your specs!
VPS Hosting Reviews - Find the latest VPS deals and reviews
Save $10 on Vitamins & Supplements with promo code iHerb
 
 
 
Reply

Thread Tools

New Post New Post   Old Post Old Post
Posting Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Sponsored By: