Open a new window

Results 1 to 2 of 2

Thread: Open a new window

  1. #1
    luongken@usa.net Guest

    Default Open a new window

    I have a search form and I want it to open a new window to display the searched materials. And within the new window, I only want it to be big enough for the search materials. I also don&#039t want all those "tool bar" on top. What I mean by that I want just a box with information.<BR><BR>How do I do that. <BR>here is my form:<BR><BR><BR>&#060;FORM METHOD=POST ACTION="Search Opticon.asp"><BR> &#060;DIV ALIGN="left"><BR> &#060;TABLE BORDER="0" WIDTH="508" HEIGHT="28" CELLSPACING="0" CELLPADDING="0"><BR> &#060;TR><BR> &#060;INPUT TYPE=HIDDEN NAME="SType" VALUE="AllWords"><BR> &#060;INPUT TYPE=HIDDEN NAME="Table" VALUE="UniqueApps"><BR> <BR> &#060;TD WIDTH="110" HEIGHT="22"><BR> <BR> &#060;SELECT NAME = "Column" SIZE="1"><BR> &#060;OPTION VALUE ="Manufacturer">PUBLISHER<BR> &#060;OPTION VALUE ="Product">PRODUCT<BR> &#060;OPTION VALUE ="Version">VERSION<BR> &#060;OPTION VALUE ="FileName">FILENAME<BR> &#060;/SELECT> <BR> &#060;TD WIDTH="209" HEIGHT="22">&#060;INPUT TYPE=TEXT NAME="SValue" SIZE=30><BR> &#060;TD WIDTH="17" HEIGHT="22"><BR> &#060;TD WIDTH="144" HEIGHT="22">&#060;INPUT TYPE=SUBMIT VALUE="SEARCH " NAME="Sumit"><BR> &#060;/TR><BR> &#060;/TABLE><BR> &#060;/DIV><BR> &#060;/FORM>

  2. #2
    John Harrod Guest

    Default RE: Open a new window

    This code will help you if your clicking a link instead of a submit button.<BR><BR>&#060;head><BR>&#060;/script><BR>&#060;SCRIPT LANGUAGE="JAVASCRIPT"><BR>function openSearch()<BR>{<BR>window.open(&#039Search Opticon.asp&#039,&#039new_win&#039,<BR>&#039top=5p x,left=5px,width=640px,height=400px,toolbar=no,men ubar=no,location=no,status=no,directories=no,scrol lbars=yes&#039)<BR>}<BR>&#060;/SCRIPT><BR>&#060;/head><BR><BR><BR>&#060;A href="javascript:openSearch()">Internet E-mail <BR><BR><BR>http://www.johnharrod.com<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •