Open in new window?!?!?

Discussion in 'HTML & Website Design' started by andymayo, Apr 8, 2008.

  1. #1
    ok i use front page from choice (hold the comments) and to open a link in a new window i go to the link properties and select that.

    recently i have found and am useing a PHP include which allows me to change whatever is in the include and it will change on all pages.. in the code how do i make it open in a new window?
     
    andymayo, Apr 8, 2008 IP
  2. andymayo

    andymayo Guest

    Messages:
    652
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    basically whats the html code for opening in a new window. surely someone knows
     
    andymayo, Apr 8, 2008 IP
  3. budster

    budster Peon

    Messages:
    18
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hi andymayo
    The HTML for opening a link in a new window is <a href="..your link.." target="_blank">Blah</a>
    Hope this helps
     
    budster, Apr 8, 2008 IP
  4. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #4
    As above for simply opening in a new window/ tab when someone clicks a link. You need to use javascript if you want it to open when the page loads or if you want to control elements of the new window (eg if the address bar is shown or not)
     
    AstarothSolutions, Apr 8, 2008 IP
  5. andymayo

    andymayo Guest

    Messages:
    652
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    cheers does any one know php by any chance?
     
    andymayo, Apr 8, 2008 IP
  6. AstarothSolutions

    AstarothSolutions Peon

    Messages:
    2,680
    Likes Received:
    77
    Best Answers:
    0
    Trophy Points:
    0
    #6
    There are many PHP programmers over in the programming section of the site and even more in the PHP section
     
    AstarothSolutions, Apr 8, 2008 IP
  7. andymayo

    andymayo Guest

    Messages:
    652
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #7
    i didnt even know php was its own thing... lmao ok cheers ppl.
     
    andymayo, Apr 8, 2008 IP