Tuesday, October 27, 2009

How to Add Search Your Site on Web

Search here means a method to use google as an external search tool for your own internal on line web site, without having to build your own. This Google Internal Site Search script seems to work on all browsers. However browser Javascript must be activated. And of course your site must be on google.

Step

  1. The following address provides simple java script that you can put on your web page(s), that uses google, to provide search results for your personal web site: Google Internal Site Search script:
    This is a single google search
  2. Copy the script. Create a blank page on your html editor. Paste in the copied javascript. Make the changes as required:
    • Enter your website URL to script code where it shows the following:
    • var domainroot="www.javascriptkit.com"
      change to:
    • var domainroot="www.YourOwnDomain.whatever"
  3. Test using 'Preview'. After testing the code successfully you can place it in your web page(s) where you want it.
  4. This script only works for Google. But they have scripts for multible engines.

No comments:

Post a Comment