Notifications
Clear all

suggestion

13 Posts
6 Users
0 Reactions
9 Views
 BigE
(@bige)
Posts: 2694
Registered
Topic starter
 

ALL links in messages should be target="_blank" or "_new"

 
Posted : September 5, 2010 12:47 pm
Wendell
(@wendell)
Posts: 5782
Admin
 

If you use the link button when composing your message, they will be. 🙂

 
Posted : September 5, 2010 1:32 pm
(@rich-leu)
Posts: 850
 

Wendell

Here’s the thread where you set that up, but I can’t make it work anymore, either.

[msg=2179]The Thread[/msg]

I tried several different combinations in the "GPS used to spy on citizens" thread below and they all open in the same window. I know it worked at one time, but it doesn’t seem to now.

For example, I used your instructions from the above thread to enter the link to that thread:

If you want the link to open in a new tab/window, use the link button at the right of the message area when creating a post (highlight the URL in the message area then click the link button).

But the old thread doesn't open in a new window for me. I'm probably overlooking something, but don't know what.

 
Posted : September 5, 2010 2:35 pm
 BigE
(@bige)
Posts: 2694
Registered
Topic starter
 

Popup blockers do not like the link button. I tried that before I posted.
I am a fanatic about not disabling my blocker for anyone for any reason without exception. Call me anal but that's my rule and I'm sticking to it. 🙂

 
Posted : September 5, 2010 2:40 pm
(@dave-ingram)
Posts: 2142
 

There is a way to do it by the user

Instead of left clicking on a link, right click on it and select the option of "Open in new tab". At least this is the way I do it with IE8. That way I never worry about how it was set up to begin with.

 
Posted : September 5, 2010 3:15 pm
(@bill93)
Posts: 9834
 

There is a way to do it by the user

Right click & open in new tab works in Firefox also.

 
Posted : September 5, 2010 4:46 pm
Wendell
(@wendell)
Posts: 5782
Admin
 

Wendell

The "link to post" button will not open links in new windows. The "link" button will. 🙂

 
Posted : September 5, 2010 10:46 pm
(@rich-leu)
Posts: 850
 

Wendell

Okay, starting from scratch:

I opened a new page in a tab in my Firefox browser.

I highlighted and copied the URL that appeared in the address bar.

I came back to BeerLeg and pasted that URL here.

Surveyors Historical Society

I highlighted the URL and clicked the link button (third from the top, under italic).

A box that says Link address (URL): opened with my URL in the space where the URL should be entered.

I clicked OK and a new box that says Link text (optional): opened.

I typed Surveyors Historical Society in there and hit OK.

I clicked Preview and tried the link.

It didn't open in a new window.

Now I'm going to click OK - Submit and see if that makes any difference.

EDIT: It doesn't open in a new window for me. What am I missing?

 
Posted : September 6, 2010 9:00 am
 BigE
(@bige)
Posts: 2694
Registered
Topic starter
 

Wendell

None of the things you guys have mentioned ever opens a link in a new browser unless I right-click like usual after the post is available.

 
Posted : September 6, 2010 9:20 am
(@rich-leu)
Posts: 850
 

Wendell / Eric

Go to this thread entitled

[msg=2295]At the risk of sounding like an alarmist[/msg]

In the third reply to that post, I inserted a link for the text ground zero. If you left-click on that link, it will open in a new tab or window. I’m pretty sure I inserted that link as described in my 12:00 post earlier today, although I can't be certain.

When I view the page source, I see that the ground zero link contains a rel="external" tag and the Surveyors Historical Society link from 12:00 today does not. That explains why the Surveyors Historical Society link doesn’t open in a new tab but it doesn’t explain why the procedure I described in the 12:00 post doesn’t insert the tag. Apparently, either there's something wrong with my procedure or the link button isn't inserting the rel="external" tag.

Incidentally, I used the same technique described above to insert the At the risk of sounding like an alarmist link and it was automatically converted to a "link to post", which, I assume, is intentional.

Eric, if you click the ground zero link, does it open in a new window or tab?

 
Posted : September 6, 2010 11:32 am
 BigE
(@bige)
Posts: 2694
Registered
Topic starter
 

Rich

Where is the "ground zero" link?
I don't see it in this thread.
Your others links in this thread open in the same window.
Unless I right-click and open in a new tab or window.
I forget what the "rel=" attribute does in HTML.
E.

 
Posted : September 6, 2010 11:48 am
(@rich-leu)
Posts: 850
 

Eric

Try this link to the July 05, 2010 post that I was referring to above:

https://surveyorconnect.com/index.php?id=2303

The ground zero link is in the first line. When I left-click, it opens in a new tab for me. I'm just curious if it does for anybody else.

As I understand it, the rel="external" tag notifies the browser to open a new window or tab, just like target="_blank". The only difference is that rel="external" is xhtml valid, and target="_blank" is not.

 
Posted : September 6, 2010 12:35 pm
(@ladd-nelson)
Posts: 734
Registered
 

Eric

I too, have been wondering about links in new tabs and have always wondered if this could be done strictly with HTML code. I checked the anchor tag at www.w3schools.com and according to them, both the rel attribute and the rev attribute share this commonality:

"The rel/rev attribute is not supported in any of the major browsers.

Note: Browsers do not use this attribute in any way. However, search engines can use this attribute to get more information about a link."

It looks like CSS3 is the answer:

http://www.w3.org/TR/2004/WD-css3-hyperlinks-20040224/#target-new

Of course, "breaking the Back button" (#9 on that list) has long been considered a no-no.

--
Ladd Nelson

 
Posted : September 6, 2010 6:26 pm