1

AF: par_ici Site Search

Search term:
Case-sensitive - yes
exact fuzzy

Click for an example
javascript:openWindow('http://www.angelfire.com/music/mrmixtapes/search.html');

http://www.angelfire.com/music/mrmixtapes/search.html

Make it easy for visitors to search your site.
To use this script, place the code in the text area
anywhere between the BODY tags of your HTML.

The sample code is in a table,
but you can format it any way you like.

When using the search, your visitors can opt for
an "exact" search
or a "fuzzy" search.

The latter calls up results with a matching prefix,
so if you search for "the"
your search will also find "then" and "thereabouts.

SOURCE CODE:

<FORM ACTION="http://www.angelfire.com/cgi-bin/script_library/site_search/search"
METHOD="GET" TARGET="_blank">
<table border="10" align="center" bordercolor="lavender" bgcolor="#9933ff" cellpadding="2" cellspacing="0">
     <tr>
          <td colspan="2"><b>Search term:</b> <INPUT NAME="search_term"><br></td>
     </tr>
     <tr>
          <td colspan="2" align="center"><b>Case-sensitive -</b>
           <INPUT TYPE="checkbox" NAME="case_sensitive"><b>yes</b><br></td>
     </tr>
     <tr>
          <td align="right"><font face="verdana, helvetica, arial" size="2"><INPUT
TYPE="radio" NAME="search_type" VALUE="exact" CHECKED><b>exact</b></font></td>
          <td><INPUT TYPE="radio" NAME="search_type"
VALUE="fuzzy"><b>fuzzy</b><br></td>
     </tr>
     <tr>
          <td colspan="2" align="center"><INPUT TYPE="hidden" NAME="display"
VALUE="#FF0000"><INPUT TYPE="submit"></td>
     </tr>
</table>
</FORM>


2

TP: par_ici Site Search

Search term:
Case-sensitive? yes
exact fuzzy

We've put our example in a table, but feel free to format it any way you like.
Place the script anywhere in the <BODY> tag.
The "Case-sensitive" and "Search-type" functions are optional -
if you leave them out, the search will default to no case-sensitivity and exact search,
(meaning a search for "TrIPod" will find "Tripod") and exact search (in which a search for "Tripod homepages" will only produce exact matches).

The color value can be changed -
your search terms will be returned in this color.

SOURCE CODE:

<FORM ACTION="http://members.tripod.com/bin/script_library/site_search/search" METHOD="GET"
TARGET="_blank">
<table border="8" bordercolor="#ccccff" bgcolor="#9933ff" cellpadding="2" cellspacing="0">
     <tr>
          <td colspan="2"><font face="verdana, helvetica, arial" size="2"><b>Search
term: </b><INPUT NAME="search_term"><br></font></td>
     </tr>
     <tr>
     <!--The "Case-sensitive" and "Search-type" functions are optional - if you leave
them out, the search will default to no case-sensitivity and exact search, (meaning a search
for "TrIPod" will find "Tripod") and exact search (in which a search for "Tripod
homepages" will only produce exact matches).-->
          <td colspan="2" align="center"> <font face="verdana, helvetica, arial"
size="2"><b>Case-sensitive?</b>
           <INPUT TYPE="checkbox" NAME="case_sensitive"><b>yes</b><br></font></td>
     </tr>
     <tr>
      <!--A 'Fuzzy' search will call up results with a matching prefix, so if you search
for 'the,', your search will also find
"then" and "thereabouts."-->
          <td align="right"><font face="verdana, helvetica, arial" size="2"><INPUT
TYPE="radio" NAME="search_type" VALUE="exact" CHECKED><b>exact</b></font></td>
          <td><font face="verdana, helvetica, arial" size="2"><INPUT TYPE="radio"
NAME="search_type" VALUE="fuzzy"><b>fuzzy</b><br></font></td>
     </tr>
     <tr>
     <!--The color value can be changed - your search terms will be returned in this color.-->
          <td colspan="2" align="center"><font face="verdana, helvetica, arial" size="2"><INPUT TYPE="hidden" NAME="display" VALUE="#9933FF"><INPUT
TYPE="submit"></font></td>
     </tr>
</table>
</FORM>

3

We have put our example in a table, but feel free to format it any way you like.

Place the script anywhere in the <.BODY> tag.

Search term:
Case-sensitive? yes
exact fuzzy

A good search term to test with is 'mix'.

SOURCE CODE:

<FORM ACTION="/cgi-bin/script_library/site_search/search" METHOD="GET" target=_blank>

<CENTER>

<table border="0" cellpadding="2" cellspacing="0">
     <tr>
          <td colspan="2"><font face="verdana, helvetica, arial" size="2">Search term: <INPUT NAME="search_term"><br></font></td>
     </tr>
     <tr>
     <!--The "Case-sensitive" and "Search-type" functions are optional - if you leave them out, the search will default to no case-sensitivity and exact search, (meaning a search for "TrIPod" will find "Tripod") and exact search (in which a search for "Tripod
homepages" will only produce exact matches).-->
          <td colspan="2" align="center"> <font face="verdana, helvetica, arial" size="2">Case-sensitive?
           <INPUT TYPE="checkbox" NAME="case_sensitive">yes<br></font></td>
     </tr>
     <tr>
      <!--A 'Fuzzy' search will call up results with a matching prefix, so if you search for 'the', your search will also find
"then" and "thereabouts."-->
          <td align="right"><font face="verdana, helvetica, arial" size="2"><INPUT TYPE="radio" NAME="search_type" VALUE="exact" CHECKED>exact</font></td>
          <td><font face="verdana, helvetica, arial" size="2"><INPUT TYPE="radio" NAME="search_type" VALUE="fuzzy">fuzzy<br></font></td>
     </tr>
     <tr>
     <!--The color value can be changed - your search terms will be returned in this color.-->
          <td colspan="2" align="center"><font face="verdana, helvetica, arial" size="2"><INPUT TYPE="hidden" NAME="display" VALUE="#FF0000"><INPUT TYPE="submit"></font></td>
     </tr>
</table>

<P>

<FONT FACE="verdana, helvetica, arial" SIZE="2"><B>
A good search term to test with is 'mix'.
</b></FONT>

</CENTER>


</FORM>