EZA Resource Box Question - Where Does "target="_new" Go?

7 replies
As we seem to be on the topic of resource boxes at the moment I thought I'd ask a question as well. This was a recent tweet by EZA: "For faster article approval, be sure to include "target="_new" in your anchored text link HREF statement."

I don't have a clue about html (I always use a wysiwyg editor to do my resource boxes). So can anyone tell me where does the "target="_new" bit go?
  • Profile picture of the author Keegahn
    Should look something like this:

    Code:
    <a href="http://your-link-here.com" target="_new">anchor text</a>
    {{ DiscussionBoard.errors[321768].message }}
    • Profile picture of the author Jenni Mac
      Originally Posted by Keegahn View Post

      Should look something like this:

      Code:
      <a href="http://your-link-here.com" target="_new">anchor text</a>
      Does that bit of code do the same as

      target="_blank"

      Does anyone know? Thanks
      {{ DiscussionBoard.errors[322064].message }}
      • Profile picture of the author Keegahn
        Originally Posted by Jenni Mac View Post

        Does that bit of code do the same as

        target="_blank"

        Does anyone know? Thanks
        Both _blank and _new will open a new window, there's just one difference. _blank will always open a new window; if you use _new it'll open a new window once and any other link with the target set to _new will open in that same window rather than opening another one.
        {{ DiscussionBoard.errors[322305].message }}
  • Profile picture of the author Allen Graves
    Yep, Keegahn is correct.

    All it really does it make the link open in a new window. I don't know why they don't have that hard-coded into their website, though?????

    AL
    Signature
    Every day I check the obituaries. If I don't see my name there, then I know it's going to be a good day!
    {{ DiscussionBoard.errors[321778].message }}
    • Profile picture of the author Hamida Harland
      Great, thanks for that. Don't know if it'll really make much of a difference but I guess seeing as they mentioned it I'll try out.
      Signature
      {{ DiscussionBoard.errors[321787].message }}
      • Profile picture of the author Elmer Hurlstone
        Originally Posted by Hamida Harland View Post

        Great, thanks for that. Don't know if it'll really make much of a difference but I guess seeing as they mentioned it I'll try out.
        The primary advantage of doing it is to prevent "leaks."

        When a link is clicked without it folks are directed away from your page, post or article. Often when they've finished reading the new page they close it. If it's a "new page" they're returned to the last page they were reading-your referring page.

        That gives you a second crack at them.

        Elmer
        {{ DiscussionBoard.errors[322216].message }}
  • Profile picture of the author talfighel
    I use that code that keeghan gave you Hamida and it works everytime. It opens up to a new window.

    Tal
    {{ DiscussionBoard.errors[322322].message }}

Trending Topics