This is a simple example of using a "two frame" template to implement a search functionality into your html based application.
Initially, a folder with this example consists of two html files only (default.htm and page2.htm). Let's assume, that this is your site, for which you want to create a search page.
Just open this example in JavaScript SiteSearch Generator, to see how options are defined for such a project. Then click the "Generate" button and preview the resulting search page.
Here are the steps, performed during the generation:
And as you can see, a simple (but functional) form of a search page for this site is ready to use. You can modify it, then remove the template from this sample project, and from this time you can use the project to generate the actual index for this site.