Searchlight Example #3             


Although this looks just like Example #1, this example uses SingleSearch mode. The contents of the 5 files we were searching in Example #1 have been copied into a master file called bigfile.txt, and the URL and Name parameters have been replaced with the SingleSearch parameter which specifies the name of the master file.

In some cases, it might be more practical to give the SingleSearch file an .HTM/.HTML extension (see SingleSearch Tips); we've given this one a .txt extension to make it easier for you to examine.

Here's the applet tag for this example:

<APPLET CODE="rySearchlight.class" ARCHIVE="Searchlight.jar" WIDTH=200 HEIGHT=250>
<param name=CabBase value="Searchlight.cab">
<param name=Copyright value="Searchlight (c) 1997 Cool Focus [www.coolfocus.com]">
<param name=ShowShortURLS value="yes">
<param name=Target value="_self">
<param name=SingleSearch value="bigfile.txt">
</APPLET>