PDA

View Full Version : adding my search box to other site with Java


BusterLee
12-11-2002, 07:20 PM
I want to allow people to add a search box on their site allowing them to search my site. I have a few things on my site whereby I have just pasted their short java code and away I go.

How do I go about having a short java code available so that people could add my search box on their site.

I want the source code of my search box to remain on my server, but give them java to include on their site. The form I have is below:

<table width="129" height="153" border="1" cellpadding="0" cellspacing="0" bordercolor="#b4d6ff">
<tr>
<td width="152" height="29" bgcolor="#b4d6ff"><div align="center"><font color="#FFFFFF" size="2" face="Verdana"><strong>Search
North Walsham Biz</strong></font></div></td>
</tr>
<tr>
<td background="http://www.north-walsham.biz/searchbox/background1.jpg"><div align="center">
<FORM ACTION="http://search.freefind.com/find.html" METHOD="GET" target="_blank">
<FONT size=1 face="arial,helvetica" >
<INPUT TYPE="HIDDEN" NAME="id" SIZE="-1" VALUE="77045218">
<INPUT TYPE="HIDDEN" NAME="pageid" SIZE="-1" VALUE="r">
<INPUT TYPE="HIDDEN" NAME="mode" SIZE="-1" VALUE="ALL">
<INPUT type="HIDDEN" name="n" value="0">
</font><FONT size=1 face="arial,helvetica" >
<INPUT TYPE="TEXT" NAME="query" SIZE="12">
<INPUT name="SUBMIT" TYPE="SUBMIT" VALUE="Search">
</font>
</FORM>
</div></td>
</tr>
</table>


Can anyone advise?!!!!

whammy
12-12-2002, 03:59 AM
What method would you be using to let them search your site? A database, FileSystemObject?, ?!?