A few questions. Opening links in new windows and ID.

Discussion in 'HTML & Website Design' started by prilep, Feb 14, 2010.

  1. #1
    The thing is I know how to open a link in a new window, but my site has over 40 links on it so I cannot go and add _blank to every link. So i found this: <base target="main">

    I put that in the header and it opens up all new links in a new window or tab, but i want to specify the name of the tab/window that it opens up in. What would i add in that code?

    I have 3 headers on my website. I need to ID them somehow so when someone clicks on top of the page it will take them directly down to the ID. How can I do this?
     
    prilep, Feb 14, 2010 IP
  2. prilep

    prilep Well-Known Member

    Messages:
    3,852
    Likes Received:
    228
    Best Answers:
    0
    Trophy Points:
    185
    #2
    Alright so I figured out the ID thing. All i need now is when i click on a link and it opens up a new tab i want to specify the name on the tab.
     
    prilep, Feb 14, 2010 IP
  3. thelethargarian

    thelethargarian Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    The name on the tab (in a tabbed page), or the name on the window decoration (in a new window) is simple the title of the page specified in the <title> tag in the header. E.g. the title of this page is "A few questions. Opening links in new windows and ID.".
     
    thelethargarian, Feb 14, 2010 IP
  4. prilep

    prilep Well-Known Member

    Messages:
    3,852
    Likes Received:
    228
    Best Answers:
    0
    Trophy Points:
    185
    #4
    Nope i need to specify the name of the tab not the window.
     
    prilep, Feb 14, 2010 IP
  5. thelethargarian

    thelethargarian Peon

    Messages:
    29
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Oh, sorry, I didn't realize what you were trying to do. Can't help you there.
     
    thelethargarian, Feb 14, 2010 IP