HTML Redirect with Blank Target

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • GreenCoder
    New Member
    • Feb 2008
    • 6

    HTML Redirect with Blank Target

    Newbie to some of this. I'm using:

    <meta http-equiv="Refresh" content="0; url=http://">

    The pages are redirecting just fine, but I would like them to open in a new window. Anyone that can help? Much appreciated!!
  • BigDaddyLH
    Recognized Expert Top Contributor
    • Dec 2007
    • 1216

    #2
    Maybe you should try redirecting this to the HTML or JavaScript forums, because I don't see any Java in your question.

    Comment

    • GreenCoder
      New Member
      • Feb 2008
      • 6

      #3
      I did put the question in HTML forum. Someone suggested I ask here also in the case that someone could help.

      Comment

      • RedSon
        Recognized Expert Expert
        • Jan 2007
        • 4980

        #4
        Originally posted by GreenCoder
        I did put the question in HTML forum. Someone suggested I ask here also in the case that someone could help.
        They probably said Javascript not Java

        Comment

        • RedSon
          Recognized Expert Expert
          • Jan 2007
          • 4980

          #5
          Originally posted by RedSon
          They probably said Javascript not Java
          Oh look at that...they did (http://bytes.com/forum/thread800070.html)! Since I'm feeling kindly I'll go ahead and move this to the *proper* forum...

          Comment

          • gits
            Recognized Expert Moderator Expert
            • May 2007
            • 5390

            #6
            you may use a javascript function that uses the window.open() method to achieve your goal ...

            kind regards

            Comment

            • acoder
              Recognized Expert MVP
              • Nov 2006
              • 16032

              #7
              Originally posted by GreenCoder
              Newbie to some of this. I'm using:

              <meta http-equiv="Refresh" content="0; url=http://">

              The pages are redirecting just fine...
              Just a note: Don't use meta refresh to redirect. Use an HTTP redirect, e.g. 301, instead. See this link for more information.

              Comment

              • GreenCoder
                New Member
                • Feb 2008
                • 6

                #8
                Thanks to those who helped. Appreciate it greatly!

                Comment

                • acoder
                  Recognized Expert MVP
                  • Nov 2006
                  • 16032

                  #9
                  You're welcome. If you have any more questions, feel free to ask. Just don't forget that Java and JavaScript are two very different languages.

                  Comment

                  Working...