- Posted by acxede on October 2, 2006
One of the most common searches on this site is for adding a Google or Windows Live search to an OLB site. Here is how you can add a Windows Live search.
- Open a new notepad document.
- Type (or cut-and-paste) the following code
<!-- Site search from MSN -->
<form method="get" action="http://search.msn.com/results.aspx">
<input type="hidden" name="cp" value="1252"/>
<input type="hidden" name="FORM" value="FREESS"/>
<table bgcolor="#FFFFFF">
<tr> <td>
<a href="http://search.msn.com/" mce_href="http://search.msn.com/">
<img src="http://search.msn.com/s/affillogo.gif" mce_src="http://search.msn.com/s/affillogo.gif" border="0" ALT="MSN Search"/>
</a>
</td> <td>
<input type="text" name="q" size="30" />
<input type="submit" value="Search Site"/>
<input type="hidden" name="q1" value="site:designerwebsites.org"/>
</td> </tr>
</table>
</form>
<!-- Site Search from MSN -->
- Replace "designerwebsites.org" with your domain name.
- Save the document as search.htm
- Upload search.htm to the Documents folder of your site.
- Create a link on the site menu to /documents/search.htm.
The page must be in documents folder because it contains a form. You can't have two forms on an aspx page in the root directory of your site. In other words, you can't cut and paste this html on one of the web pages in your web site's root folder.