Technologistics

Your #1 Source for just about anything

Jan
24

Add Custom Search Box To Your Site

Posted under Tips by admin

A way to make your site more user friendly, especially if it is very large, is to add a very own custom search box through Google. How this works is basically you will be search Google’s indexed pages of your site. To do so add this code:


Here is how it would look for my site.

To get your very own just copy and paste this HTML code onto your site.

<!– Use of this code assumes agreement with the Google Custom Search Terms of Service. –>
<!– The terms of service are available at /coop/docs/cse/tos.html –>
<form name=”cse” id=”searchbox_demo” action=”http://www.google.com/cse“>
  <input type=”hidden” name=”cref” value=”" />
  <input name=”q” type=”text” size=”40″ />
  <input type=”submit” name=”sa” value=”Search” />
</form>
<script type=”text/javascript” src=”http://www.google.com/cse/tools/onthefly?form=searchbox_demo”></script>

Add A Comment