Before start searching, you must tell NavSearch the location of your favourite web browser, and assign a temporary file where searching results should be stored. You do this by goto [Files | Setup Browser]
NavSearch switches
You may add the following switches to NSACCESS.INI.
(NSACCESS.INI is automatically created when you register NavSearch. If you haven't registered yet, please create this file using a text editor. e.g. NotePad)
[ADVANCE]
SaveOnExit=0 | Do not save options at exit |
Show_Option=0 | Hide NavSearch [FILE] on the menu bar |
Show_Adv=0 | Hide panel [Advance Options] |
Modify_Dir=0 | In the [Limit to Directory] box, user may not input their own directory. |
Can_Close=0 | NavSearch window cannot be closed |
[APPINFO]
INIPATH=D:\ini-directory\ | Save NAVSRH's preferences (NAVSRH.INI) in another directory, instead of the same directory as NAVSRH.EXE. This switch is particular useful if NAVSRH.EXE is running from CD-ROM, or a network server. e.g. INIPATH=C:\TEMP\ .or. INIPATH=A:\ |
You can do this easily by setting up NavSearch as a helper application. e.g. Setup NavSearch as a helper application for ".srh" extension. When user click on <A HREF="temp.srh">Click here to search documents</A>, NavSearch will be lauched by the browser automatically.
For the above exmpale you need to create a file call "temp.srh'. However it can be empty or contains some description, its content is never used.
Netscape users can setup a helper application by:
How to launch NavSearch within HTML Frames
When you goto [Files | Setup Browser], there is an optional field called "Frame File Name".
As mentioned above, NavSearch outputs its results to a temporary result file. You can set your result file name to whatever you like.
If - NO - FRAME file name is set, NavSearch will tell your browser to load the "Result File" everytime a search is completed.
If FRAME file name is set, NavSearch will tell your browser to load the "Frame File" everytime a search is completed.
If you do use a FRAME file, the frame file must have a "frame src=temp.htm", where temp.htm refers to the result file. So when NavSearch tells your browser to reload the FRAME file, the results will be displayed with that frame.
e.g
Your result file name is "MYRESULT.HTM"
Your frame file name is "OPEN.HTM"