...

View Full Version : frames and buttons



Viktor87
04-17-2005, 01:45 AM
How do I make "Search button in the following script open result window in
a frame?

<FORM method=GET action="http://www.google.com/search">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="Logo_40wht.gif"
border="0" ALT="Google" align="absmiddle" width="119" height="48"></A>
<INPUT TYPE=text name=q size=25 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Search">
</td></tr></TABLE>
</FORM>


Thanks for any info guys!

glenmac
04-17-2005, 02:43 AM
Name the frame you wish to have the window open in and then add the target attribute to the form tag.

<FORM method=GET action="http://www.google.com/search" target = "FrameName">
<input type=hidden name=ie value=UTF-8>
<input type=hidden name=oe value=UTF-8>
<TABLE bgcolor="#FFFFFF"><tr><td>
<A HREF="http://www.google.com/">
<IMG SRC="Logo_40wht.gif"
border="0" ALT="Google" align="absmiddle" width="119" height="48"></A>
<INPUT TYPE=text name=q size=25 maxlength=255 value="">
<INPUT type=submit name=btnG VALUE="Search">
</td></tr></TABLE>
</FORM>



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum