IE7: What is the Code open window in a 'new tab'?

Discussion in 'HTML & Website Design' started by fastbuilder, Aug 10, 2007.

  1. #1
    Are you using IE7?

    I am looking the javascript for opening window targeted in 'new tab' instead of self or new window.
     
    fastbuilder, Aug 10, 2007 IP
  2. masoko2

    masoko2 Peon

    Messages:
    166
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I think that there is no such script. Its the browser that decides how to open the window.
     
    masoko2, Aug 10, 2007 IP
  3. longhornfreak

    longhornfreak Well-Known Member

    Messages:
    2,067
    Likes Received:
    95
    Best Answers:
    0
    Trophy Points:
    140
    #3
    Since they copied the feature from Firefox, I believe the hot key ctrl + t would work. Or right clicking on the blank space to the right of the tabs. But I don't use IE, so..
     
    longhornfreak, Aug 10, 2007 IP
  4. Jamie18

    Jamie18 Peon

    Messages:
    201
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you'd probably have more chance finding an answer to this in the javascript sub-forum..

    although i believe masoko is right, it seems to me that at one point before i had set up my browser to automatically open pages as a new tab rather than a new window.. there were some pages that would open as a new tab regardless.. so maybe it is possible.. i can't say for sure, that was a while ago.

    sorry if i've been absolutely no help at all haha
     
    Jamie18, Aug 10, 2007 IP
  5. deathshadow

    deathshadow Acclaimed Member

    Messages:
    9,732
    Likes Received:
    1,999
    Best Answers:
    253
    Trophy Points:
    515
    #5
    GAAARGH!!!

    Sorry. Just needed to get that out of the way first.

    There is a REASON target= for anything other than frames was pulled from the strict specifications, as overriding the browsers default behavior is annoying, impolite and in general an all around BAD IDEA.

    If I want a link to open in a new window, I will CHOOSE 'open in new window' - If I want a link to open in a new tab, I will CHOOSE 'open in new tab'... otherwise forcing a link to open any way other than the default link behavior of the 'current window' just makes browsing inconsistant, annoying, and counterintuitive.
     
    deathshadow, Aug 10, 2007 IP