Forums Index > Mewsoft Products > Searchawy > Placing search box on other sites
hamfind First Post Posted on: 07-01-10 11:55 AM
Placing search box on other sites

What html would I use to place a search box on other sites for my search engine
mewsoft Reply #: 1 Posted on: 07-01-10 12:21 PM
Re: Placing search box on other sites

Just view the source code in your browser and copy it.

Mewsoft Support
www.mewsoft.com

carrzkiss Reply #: 2 Posted on: 07-04-10 09:33 AM
Re: Placing search box on other sites

What html would I use to place a search box on other sites for my search engine



Easy:
Replace the comment ADD-URL with your own.


<TABLE cellSpacing=0 cellPadding=0 border=0>
<TBODY>
<TR>
<FORM name=Search_Main action=http://ADD-URL/cgi-bin/dir/search.cgi
method=post><INPUT type=hidden value=0 name=Cat_ID> <INPUT type=hidden
value=English name=Lang> <INPUT type=hidden value=Browse name=action> <INPUT
type=hidden value=All_Categories name=Search>
<TD><INPUT size=40 name=Terms> </TD>
<TD><A onclick="document.Search_Main.submit(); return false;" href="#"><IMG
src="http://ADD-URL/dirs/images/go.gif"
border=0></A></TD></FORM></TR></TBODY></TABLE>



Hope this helps.

Wayne
mewsoft Reply #: 3 Posted on: 07-04-10 08:04 PM
Re: Placing search box on other sites

You may be also better replace the submit JS link with normal image link:

Replace this

<A onclick="document.Search_Main.submit(); return false;" href="#"><IMG
src="http://ADD-URL/dirs/images/go.gif"
border=0></A>



With this:

<input type="image" src="http://ADD-URL/dirs/images/go.gif" border="0">



This submits the search from when user press "ENTER" key while typing in the box or if the focus inside that search form.

Mewsoft Support
www.mewsoft.com