target-new:tab

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • mitch

    target-new:tab

    I want to make a page open a link in a new tab when the user clicks
    it. Doing some browsing and experimentation , I found that this code:

    <a href="myDocumen t.html"
    target="new"
    style="target-name: new; target-new:
    tab;"my document </a>

    works in Firefox 2 but not in IE 7.

    Is there another way to do it that will work across at least these two
    browsers? Or is it something that's not supported and that I would be
    better off not trying? Thanks.
  • Jonathan N. Little

    #2
    Re: target-new:tab

    mitch wrote:
    I want to make a page open a link in a new tab when the user clicks
    it. Doing some browsing and experimentation , I found that this code:
    >
    <a href="myDocumen t.html"
    target="new"
    style="target-name: new; target-new:
    tab;"my document </a>
    >
    works in Firefox 2 but not in IE 7.
    >
    Is there another way to do it that will work across at least these two
    browsers? Or is it something that's not supported and that I would be
    better off not trying? Thanks.
    Asked a million times, conservative estimate. Answer is No. You can
    neither force a new tab or a new window. It is a user setting. Work in
    *your* Firefox only because *your* Firefox is set to open new windows in
    a new tab. My SeaMonkey can be set to open all new windows in my
    existing window thus nullifying the action entirely...

    Basically it is bad form to open a link in a new window or tab on a
    user, let them make that decision:

    The 10 most egregious UX offenses against users. Web design disasters and HTML horrors are legion, though many usability atrocities are less common than they used to be.

    Top Ten Mistakes in Web Design (Jakob Nielsen's Alertbox)


    --
    Take care,

    Jonathan
    -------------------
    LITTLE WORKS STUDIO

    Comment

    • mitch

      #3
      Re: target-new:tab

      Thanks. I did search, with google on the web and again inside this
      group, before asking.

      - Mitch
      Asked a million times, conservative estimate. Answer is No. You can
      neither force a new tab or a new window. It is a user setting. Work in
      *your* Firefox only because *your* Firefox is set to open new windows in
      a new tab. My SeaMonkey can be set to open all new windows in my
      existing window thus nullifying the action entirely...
      >
      Basically it is bad form to open a link in a new window or tab on a
      user, let them make that decision:
      >
      The 10 most egregious UX offenses against users. Web design disasters and HTML horrors are legion, though many usability atrocities are less common than they used to be.

      Top Ten Mistakes in Web Design (Jakob Nielsen's Alertbox)
      >
      --
      Take care,
      >
      Jonathan
      -------------------
      LITTLE WORKS STUDIOhttp://www.LittleWorks Studio.com

      Comment

      • Jonathan N. Little

        #4
        Re: target-new:tab

        mitch wrote:
        Thanks. I did search, with google on the web and again inside this
        group, before asking.
        Really? Not sure I believe you. If you had, you would also learn about
        not top posting in Usenet and trimming signatures, and lastly that new
        window|tab is a browser user setting and that has been asked and
        answered countless times here.

        [Your reply should go below this]
        >Asked a million times, conservative estimate. Answer is No. You can
        >neither force a new tab or a new window. It is a user setting. Work in
        >*your* Firefox only because *your* Firefox is set to open new windows in
        >a new tab. My SeaMonkey can be set to open all new windows in my
        >existing window thus nullifying the action entirely...
        >>
        >Basically it is bad form to open a link in a new window or tab on a
        >user, let them make that decision:
        >>
        >http://www.useit.com/alertbox/9605.html
        >Top Ten Mistakes in Web Design (Jakob Nielsen's Alertbox)
        >>
        [and you should trim this when you use GG instead of a newreader]
        >--
        >Take care,
        >>
        >Jonathan
        >-------------------
        >LITTLE WORKS STUDIOhttp://www.LittleWorks Studio.com
        >

        --
        Take care,

        Jonathan
        -------------------
        LITTLE WORKS STUDIO

        Comment

        Working...