Email this Page Log Support Call Send Feedback Print

Previous Topic

Next Topic

Book Contents

Book Index

Using a Client Side (DHTML) Full Text Search

The DHTML Search uses JavaScript to create a results page based on the search criteria. This is an excellent solution for small HTML documents or when you do not have a server side search available.

There are a couple of implications of using a DHTML Search:

  • The script is client based so runs in your viewer's browser. This means that it is browser dependant and of course you have no control over the browser your viewers are using. Not only do your viewers have to have JavaScript enabled, but their browser may not support the script that is used.
  • When publishing, both the JavaScript and the complete raw text of the whole book is contained in the one dhtml_search.js file that is created.This means that large Books may take substantial time for the search tab to display.

To use the DHTML Search in a Book

  • Create a new Book based on the DHTML User Guide Template

    -or-

  • Apply the DHTML User Guide Template to an existing Book Object.

Note: All libraries created from the Default (A4).adl or Default (Letter).adl Library templates distributed with version 4.0.440 (or later) contain the DHTML User Guide Template allowing you to automatically add a DHTML Search engine to your Books. If you are using a library created prior to version 4.0.440, you will need to create this template first.

In This Section

How to Setup the DHTML User Guide Template

See Also

Adding a Full Text Search Engine to your Published HTML

Using a Server Side (CGI Script) Full Text Search

Top of Page Email this Page Log Support Call Send Feedback Print