On second thought I guess I didnt explain my self clear enough, sorry....I want to make a search box w/ options that does what the search box on this page does... However I would like mine to just be done with html unlike the way they did theirs... ExampleInstead of 3 options, have only 2. The first option gives you a google site search and the second gives you a search of my forum. Im playing with the one below but dont quite understand how to tell it to search 2 different ways/places depending on which option is selected.
<table border="0" cellspacing="1" style="border-collapse: collapse" width="99%" id="table1" height="70"> <tbody> <tr><td class="right" align="center" valign="top" height="68"><option value="www.mysite.com"><p style="margin-top: 0; margin-bottom: 0"><label for="where"> </label><select id="where" tabindex="2" name="search_type"><option value="http://www.mysite.com/forum/index.php?action=search2" method="post" target="_top" name="search" style="width: 99;height:22" name="as_q" size="20" type="text">Forum</option><option value="http://www.google.com/search" method="get" name="searchform" target="_top"name="sitesearch" value="www.mysite.com">Entire Site</option></select> <form action="as_q" name="sitesearch" name="searchform" style="margin: 0pt 0pt 5px; text-align: center;"></p><p style="margin-top: 0; margin-bottom: 0"><input name="search" type="text" style="width: 99;height:22" name="as_q" size="20" > <input name="submit" value="search""sitesearch" style="margin: 4px; width:57;height:19" type="submit"></p></form></td> </tr></table>
I think the key to it is these two lines....
<input name="submit" value="search""sitesearch" style="margin: 4px; width:57;height:19" type="submit">
<form action="as_q" name="sitesearch" name="searchform" style="margin: 0pt 0pt 5px; text-align: center;">