Loading ...
Sorry, an error occurred while loading the content.
 

Exit Frames Using Target="_blank" in Input Type

Expand Messages
  • Jody
    Hi All, Is it possible to open a new window/tab so that the page does not open in the same frame using form stuff like my google search below? I tried
    Message 1 of 5 , Mar 2, 2005
      Hi All,

      Is it possible to open a new window/tab so that the page does not open in the same frame using form stuff like my google search below? I tried Target="_blank" but it doesn't work. This line is close to the bottom.

      <input type="radio" name="sitesearch" value="http://www.notetab.net" target="_blank" checked>This Site<br>

      <!-- SiteSearch Google -->
      <div class="c"><form method="get" action="http://www.google.com/search">
      <table align="center" bgcolor="#FFFFFF"><tr><td>
      <a href="http://www.google.com/">
      <img src="google25.gif" width="75" height="32" border="0" alt="Go to google.com"></a>
      </td>
      <td>
      <input type="text" name="q" size="31" maxlength="255" value="">
      <input type="submit" name="btnG" value="Search">
      <font size="-1">
      <input type="hidden" name="domains" value="http://www.notetab.net"><br>          <input type="radio" name="sitesearch" value="">The Web<input type="radio" name="sitesearch" value="http://www.notetab.net" target="_blank" checked>This Site<br>
      </font>
      </td></tr></table>
      </form></div>
      <!-- SiteSearch Google -->

      Thanks!
      Jody
      ...he that is of a merry heart hath a continual feast...
      See ya in the funnies!
      http://www.clean-funnies.com
      http://www.sojourner.us/software
      notetab.net, fookes.us, purewords.org


      [Non-text portions of this message have been removed]
    • John Wallace
      I not sure on this, but I think the target=_blank is part of the tag. So, I would think the value would have to include the target=_blank in the
      Message 2 of 5 , Mar 2, 2005
        I not sure on this, but I think the "target=_blank" is part of the <a href> tag.
        So, I would think the value would have to include the "target=_blank" in the quote with the url.


        John Wallace
        Pontiac Power RULES !!!
        www.wallaceracing.com

        Subject: [NH] Exit Frames Using Target="_blank" in Input Type



        Hi All,

        Is it possible to open a new window/tab so that the page does not open in the same frame using form stuff like my google
        search below? I tried Target="_blank" but it doesn't work. This line is close to the bottom.

        <input type="radio" name="sitesearch" value="http://www.notetab.net" target="_blank" checked>This Site<br>

        <!-- SiteSearch Google -->
        <div class="c"><form method="get" action="http://www.google.com/search">
        <table align="center" bgcolor="#FFFFFF"><tr><td> <a href="http://www.google.com/"> <img src="google25.gif" width="75"
        height="32" border="0" alt="Go to google.com"></a> </td> <td> <input type="text" name="q" size="31" maxlength="255"
        value=""> <input type="submit" name="btnG" value="Search"> <font size="-1"> <input type="hidden" name="domains"
        value="http://www.notetab.net"><br>          <input type="radio"
        name="sitesearch" value="">The Web<input type="radio" name="sitesearch" value="http://www.notetab.net" target="_blank"
        checked>This Site<br> </font> </td></tr></table> </form></div>
        <!-- SiteSearch Google -->

        Thanks!
        Jody
        ...he that is of a merry heart hath a continual feast...
        See ya in the funnies!
        http://www.clean-funnies.com
        http://www.sojourner.us/software
        notetab.net, fookes.us, purewords.org
      • Jody
        Hi John, ... It is a href tag, but not allowed in forms I found out with CSE HTML Validator which gave me a long sting of attributes, but I did not see
        Message 3 of 5 , Mar 2, 2005
          Hi John,

          >I not sure on this, but I think the "target=_blank" is part of
          >the <a href> tag. So, I would think the value would have to
          >include the "target=_blank" in the quote with the url.

          It is a href tag, but not allowed in forms I found out with CSE
          HTML Validator which gave me a long sting of attributes, but I
          did not see anything that made any sense to me. target="_blank"
          is the correct way to quote it in an href tag.

          >Is it possible to open a new window/tab so that the page does not open in the same frame using form stuff like my google
          >search below? I tried Target="_blank" but it doesn't work. This line is close to the bottom.
          >
          ><input type="radio" name="sitesearch" value="http://www.notetab.net" target="_blank" checked>This Site<br>
          >
          ><!-- SiteSearch Google -->
          ><div class="c"><form method="get" action="http://www.google.com/search">
          ><table align="center" bgcolor="#FFFFFF"><tr><td> <a href="http://www.google.com/"> <img src="google25.gif" width="75"
          >height="32" border="0" alt="Go to google.com"></a> </td> <td> <input type="text" name="q" size="31" maxlength="255"
          >value=""> <input type="submit" name="btnG" value="Search"> <font size="-1"> <input type="hidden" name="domains"
          >value="http://www.notetab.net"><br>          <input type="radio"
          >name="sitesearch" value="">The Web<input type="radio" name="sitesearch" value="http://www.notetab.net" target="_blank"
          >checked>This Site<br> </font> </td></tr></table> </form></div>
          ><!-- SiteSearch Google -->




          Happy HTML'n!
          Jody

          http://www.notetab.net
          http://www.clean-funnies.com
          http://groups.yahoo.com/group/ntb-html
        • Rudolf Horbas
          Jody, AFAIK, you d have to assign the target attribute to the form element: HTH, Rudi
          Message 4 of 5 , Mar 2, 2005
            Jody,

            AFAIK, you'd have to assign the target attribute to the form element:

            <form ... target="_blank">

            HTH,
            Rudi
          • Jody
            Hi Rudolf, Thanks! Works like a champ. Opens a new tab or window depending on the browser and settings. :) ... See ya in the funnies, Jody Adair, Prov. 15:15
            Message 5 of 5 , Mar 2, 2005
              Hi Rudolf,

              Thanks! Works like a champ. Opens a new tab or window depending on the browser and settings. :)

              >AFAIK, you'd have to assign the target attribute to the form element:
              >
              ><form ... target="_blank">


              See ya in the funnies,
              Jody Adair, Prov. 15:15

              Blessed are they who can laugh at themselves
              for they shall never cease to be amused.
              http://www.clean-funnies.com
            Your message has been successfully submitted and would be delivered to recipients shortly.