Page 1 of 1

What the heck is this:

Posted: Thu Sep 29, 2011 4:21 pm
by tclements
" target="_blank

How does it get put in and how can you avoid it?

Thanks!

Re: What the heck is this:

Posted: Thu Sep 29, 2011 4:42 pm
by Ben
It is an artifact from an edit on a page/signature/text field that has an active hyperlink. Upon editing the page, (I do not understand why...) the "gunk" is created. The editor must delete the extra "gunk" before submitting his post, or it will carry through.

Re: What the heck is this:

Posted: Thu Sep 29, 2011 4:46 pm
by Kevin Hendrick
tclements wrote:" target="_blank

How does it get put in and how can you avoid it?

Thanks!
That gets put in when somebody types in a URL and forgets (or doesn't know) to add the "url" and "/url" tags to the beginning and end of it. For example:

http://www.youtube.com/watch?v=p176UpWQOs4" target="_blank" target="_blank" target="_blank

vs.

http://www.youtube.com/watch?v=p176UpWQOs4

Each time you use the Preview, it inserts one of those ... if you click on the "quote" button to reply, it inserts one.

:)

Re: What the heck is this:

Posted: Thu Sep 29, 2011 4:52 pm
by tclements
Ok. EXACTLY what do I have to add to an active hyperlink to avoid the target blank thing?

Re: What the heck is this:

Posted: Thu Sep 29, 2011 5:03 pm
by Kevin Hendrick
tclements wrote:Ok. EXACTLY what do I have to add to an active hyperlink to avoind the target blank thing?
After you type in the hyperlink, highlight it and then click on the URL button just above the editing area -- that adds the tags at the beginning and end of the hyperlink (like this -- use the "quote" button on this post to see the tags):

http://en.wikipedia.org/wiki/Continental_Divide

If you prefer, you can type in the tags manually -- they work the same either way. :)

Re: What the heck is this:

Posted: Thu Sep 29, 2011 5:06 pm
by tclements
Aaaaaa. I think I got it. Thanks, Kevin!!

Re: What the heck is this:

Posted: Thu Sep 29, 2011 5:08 pm
by Bandmaster
It is a result of an error made by the webmaster of this forum. I've had to to do it with several forums I adminster. There is a modification that can be done (correctly is preferable) which causes ANY links added to a post, whether surround by the URL tag or not, when clicked, to open a new browser window instead of leaving the forum. The " target="_blank should read target="_blank" and is added by the forum software (after the mod) to any link posted, but it should not be visible on your screen. It is visible here because the quotes are in the wrong place. This little piece of code tells your browser to open a new blank window and insert the URL into that blank window.

Re: What the heck is this:

Posted: Thu Sep 29, 2011 5:34 pm
by David Richoux
The other fun game to play with URLs here is using

Code: Select all

[URL=http://your link.com] your name for the link which can be of any length [/url]
so it is more readable - it shows up as underlined blue text, but just your name for the link shows up.

For example: a rather interesting arrangement of "The Saints" with Helicon

instead of http://www.youtube.com/watch?v=3_vM0-3eCjc

Hope I explained that well enough - if you do it, be sure to preview to make sure you did it right.

Re: What the heck is this:

Posted: Thu Sep 29, 2011 5:48 pm
by pgym
Bandmaster wrote:It is a result of an error made by the webmaster of this forum. I've had to to do it with several forums I adminster. There is a modification that can be done (correctly is preferable) which causes ANY links added to a post, whether surround by the URL tag or not, when clicked, to open a new browser window instead of leaving the forum. The " target="_blank should read "target=_blank" and is added by the forum software (after the mod) to any link posted, but it should not be visible on your screen. It is visible here because the quotes are in the wrong place. This little piece of code tells your browser to open a new blank window and insert the URL into that blank window.
Sounds to me like a bug in the software that the webmaster, for whatever reason, hasn't patched rather than an error by the webmaster.

Re: What the heck is this:

Posted: Thu Sep 29, 2011 5:58 pm
by Kevin Hendrick
David Richoux wrote:The other fun game to play with URLs here is using

Code: Select all

[URL=http://your link.com] your name for the link which can be of any length [/url]
so it is more readable - it shows up as underlined blue text, but just your name for the link shows up.

For example: a rather interesting arrangement of "The Saints" with Helicon

instead of http://www.youtube.com/watch?v=3_vM0-3eCjc

Hope I explained that well enough - if you do it, be sure to preview to make sure you did it right.
Thank you, David -- forgot about the Code tags and button! That and renaming a link are both useful things to know. :D

Re: What the heck is this:

Posted: Thu Sep 29, 2011 6:49 pm
by Bandmaster
pgym wrote:
Bandmaster wrote:It is a result of an error made by the webmaster of this forum. I've had to to do it with several forums I adminster. There is a modification that can be done (correctly is preferable) which causes ANY links added to a post, whether surround by the URL tag or not, when clicked, to open a new browser window instead of leaving the forum. The " target="_blank should read "target=_blank" and is added by the forum software (after the mod) to any link posted, but it should not be visible on your screen. It is visible here because the quotes are in the wrong place. This little piece of code tells your browser to open a new blank window and insert the URL into that blank window.
Sounds to me like a bug in the software that the webmaster, for whatever reason, hasn't patched rather than an error by the webmaster.
Nope... it is from a mod that the webmaster tried to add so folks that click on a link in a post won't leave this website, but instead open a new browser window. You have to open individual files that make up the forum software and physically add target="_blank" to the source code in that file at just the right place in the code. If you make a mistake, one quote mark in the wrong place, you can get what you see happening on this forum. I have done it many times myself on other forums that I administer.