|
2012-09-13, 07:29 AM | #1 |
You can now put whatever you want in this space :)
Join Date: Oct 2010
Posts: 988
|
target="_blank" to rel="external"
I just realized that target="_blank" is a really archaistic thing and what's more - it is not valid.
Attribute rel="external" is the solution but I don't want to have a mess in my code. For example I noticed that Greenie uses it too in his new link lists, but I have no idea, where is this parameter defined (as it is not visible in the code).
__________________
FeetSexVids.com |
2012-09-13, 08:22 AM | #2 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
target="_blank" opens a link in a new window/tab
rel="external" lets the SE spiders know it's an external link Also, rel="nofollow" tells the SE spider to ignore the link (used for sponsor links as well as pages you do not want spidered, like webmaster pages) |
2012-09-13, 08:25 AM | #3 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
And the "target" tag is still valid in HTML5:
http://www.w3schools.com/html5/att_a_target.asp |
2012-09-13, 05:08 PM | #4 |
You can now put whatever you want in this space :)
Join Date: Oct 2010
Posts: 988
|
How did you do that your external links are openning in a new window without any "target" tags?
Thanks for the definition BTW.
__________________
FeetSexVids.com |
2012-09-13, 05:19 PM | #5 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
cd34 wrote up this handy bit of code to open all external links in a new window/tab
Code:
<script type="text/javascript"> <!-- var localdomain='link-o-rama.com'; var hrefs = document.getElementsByTagName("a"); for (var i=0, max=hrefs.length; i<max; i++) { if (hrefs[i].href.indexOf(localdomain) == -1) { hrefs[i].target='_blank'; } }; // --> </script> |
2012-09-13, 05:25 PM | #6 | |
You can now put whatever you want in this space :)
Join Date: Oct 2010
Posts: 988
|
Excellent, thanks. I'll use it in meta tag like:
Quote:
__________________
FeetSexVids.com |
|
2012-09-13, 05:47 PM | #7 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
CD isn't an it but he is the owner of colo-cation.
|
2012-09-13, 06:26 PM | #8 |
You can now put whatever you want in this space :)
Join Date: Oct 2010
Posts: 988
|
Sorry, this construction comes from my native language. I'm seriously considering moving my stuff out there (the most tempting thing for me is unlimited amount of IP's).
__________________
FeetSexVids.com |
2012-09-13, 06:36 PM | #9 |
Subversive filth of the hedonistic decadent West
Join Date: Mar 2003
Location: Southeast Florida
Posts: 27,936
|
colo-cation is where all my stuff is hosted as is this board.
Best hosting I've ever had and Chris (cd34) is a fantastic tech. |
2012-09-13, 06:44 PM | #10 |
You can now put whatever you want in this space :)
Join Date: Oct 2010
Posts: 988
|
I've decided that I will start the move in early 2013.
__________________
FeetSexVids.com |
2012-09-14, 09:15 AM | #11 |
The Original Greenguy (Est'd 1996) & AVN HOF Member - I Crop Pics For Thumbs In My Sleep
|
Why wait - move NOW!
|
2012-09-14, 09:30 AM | #12 |
You can now put whatever you want in this space :)
Join Date: Oct 2010
Posts: 988
|
No problem, but first I need to find out if they offer a different dedicated IP for each domain (within their "virtual hosting").
__________________
FeetSexVids.com Last edited by Jeremy82; 2012-09-14 at 09:35 AM.. |
2012-09-14, 01:30 PM | #13 |
Shift Out / X-On
|
All the thumbs for his servers.
|
2012-09-15, 01:46 PM | #14 | |
Progress rarely comes in buckets, it normally comes in teaspoons
Join Date: Jun 2005
Location: Dark Side Of Naboo
Posts: 1,289
|
Quote:
|
|
|
|