1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
- "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <!--
- Example search page for the JavaScript install of Zoom Search Engine 5.0
- NOTE: that you should only use the JavaScript version if server-side
- processing is not available, such as on a CD-ROM, local intranet, etc.
- Client-side searching requires the entire index file to be downloaded
- to the client, which is not an issue locally, or if your website is small,
- but can be very slow for larger websites, over the Internet.
- Hints:
- 1. Make sure you have indexed your website with the Zoom Indexer application
- with the "Javascript" option checked in the Configuration dialog. It
- should produce a file named "zoom_index.js" in your selected output directory.
- 2. Put this file (search.html), search.js, and zoom_index.js in the same directory
- 3. Copy or upload these files to your distribution medium (CD, server, etc)
- 3. Customise this page as you see fit. You can also put a search form on the
- other pages of your site (or navbar) by copying the form below.
- -->
- <html lang="en" xml:lang="en">
- <head>
- <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
- <title>Example search page for Zoom Search Engine (JavaScript version)</title>
- <script language="JavaScript" src="settings.js"></script>
- <script language="JavaScript" src="search.js"></script>
- <link rel="StyleSheet" href="../../common/search_bux.css" type="text/css">
- <style type="text/css">
- body { margin-left:0.8em; }
- </style>
- </head>
- <body onload="if (document.getElementById('zoom_searchbox')) {document.getElementById('zoom_searchbox').focus();}"><div role="main">
- <!-- This is where the search form and results will appear -->
- <script language="JavaScript">ZoomSearch();</script>
- <noscript>You must have JavaScript enabled to use the search engine.</noscript>
- <p> </p>
- </div></body>
- <script language="javascript">if( parent.tab.tV ) {parent.tab.tV('msrch')}</script>
- </html>
|