<base target="blank">

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spacedog
    Yes that IS me. Bitch.
    • Nov 2001
    • 14149

    #1

    <base target="blank">

    Without having to modify all the links on a site, how can I use the base target tag in head tag to apply only to external links & not internal links?
  • Tempest
    Too lazy to set a custom title
    • May 2004
    • 10217

    #2
    I don't know if you can or not... but
    <base target="blank">
    should be
    <base target="_blank">

    Comment

    • spacedog
      Yes that IS me. Bitch.
      • Nov 2001
      • 14149

      #3
      Originally posted by Tempest
      I don't know if you can or not... but
      <base target="blank">
      should be
      <base target="_blank">
      both tags work on blogs.

      Comment

      • Slap Dot
        Confirmed User
        • Aug 2004
        • 3168

        #4
        Css loves you

        » AIM: slapdotted
        » Skype: slapdot
        » ICQ: 190444

        Comment

        • SmokeyTheBear
          ►SouthOfHeaven
          • Jun 2004
          • 28609

          #5
          Originally posted by spacedog
          both tags work on blogs.
          well i think the way it works is "_blank" will always be a new window , but if you used "blank" your actually naming the new window "blank" so if you didnt close the window , and clicked another link in the first window , it would open up in the previous window instead of a blank one ( not that , that would happen much but.. FYI )
          hatisblack at yahoo.com

          Comment

          • SmokeyTheBear
            ►SouthOfHeaven
            • Jun 2004
            • 28609

            #6
            well you can do it easily with "replace all" without using the base target command..

            if you did replace "<a href=http" with "<a target=_blank href=http"

            then you would only be replacing outbound links

            * presuming inbound links dont have http int hem because they are inbound and would be like " <a href=page.html>
            hatisblack at yahoo.com

            Comment

            • SmokeyTheBear
              ►SouthOfHeaven
              • Jun 2004
              • 28609

              #7
              but on a blog that wouldn't work , your better off using css
              hatisblack at yahoo.com

              Comment

              • brizzad
                holla
                • Jul 2003
                • 11769

                #8
                css

                http://www.google.com/search?hl=en&q...=Google+Search

                Comment

                • Tempest
                  Too lazy to set a custom title
                  • May 2004
                  • 10217

                  #9
                  Originally posted by spacedog
                  both tags work on blogs.
                  It might "work", but it's not the correct syntax and it may in fact not work properly on all browsers now or in the future.

                  Comment

                  Working...