opening external links apart from target=_blank

Discussion in 'HTML & Website Design' started by goppss, Feb 12, 2008.

  1. #1
    i am three weeks old when it comes to webpage design. How can i open external links in a new browser from my webpage without having to use the target=_blank as this can be difficult with the number of links on my webpage.

    Is there anyway i could have something on my style sheet to address this issue?

    If there isn't, and i have to use a code please let me know where i would have to insert it.
     
    goppss, Feb 12, 2008 IP
  2. imvain2

    imvain2 Peon

    Messages:
    218
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Actually its really easy just us FIND & REPLACE.

    Simply find <a and replace with <a target="_blank"
     
    imvain2, Feb 12, 2008 IP
  3. dalgic

    dalgic Active Member

    Messages:
    135
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #3
    even having something on your style sheet doesnt free you from inserting codes, you always have to put codes for what you have to do. use softwares such as dreamweaver to ease your editing.
     
    dalgic, Feb 12, 2008 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Dan Schulz, Feb 12, 2008 IP
  5. tsiger

    tsiger Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    also read this in case you want control of which links you want to open in new window:
    www.thefutureoftheweb.com/blog/target-blank-xhtml11
     
    tsiger, Feb 12, 2008 IP
  6. goppss

    goppss Peon

    Messages:
    66
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thanks for the links. I'll give them a read and let you know how it works.
     
    goppss, Feb 13, 2008 IP