www.gutterbucket.com

JavaScript Site Search Example !

Shows how your can add a searchable index to your web site using JavaScript.

To add a search facility to your web site:

  1. Download the template file from here! (save link/target as...)
  2. Open the file in a text editor and add entries for each page in your website including URLs. More information is provided in the template file.
  3. Finally add the file to your site and place either a link to the file or add a form like the example below.
    ...
    <form method=get action="search.html">
     <input type=text size=15 name="search_param"> 
     <input type=submit value="search"> 
    </form>
    ...
    

Copyright 2000-2007  Mark R Hives  -  All rights reserved