This frameset arrangement
Main (FindinSite-CD and highlighted results) |
fisLight |
fisLight is a Java applet that does word highlighting on FindinSite-CD's behalf.
When you use fisLight in a frameset, you can have almost any frameset arrangement you like,
provided that fisLight is in a different pane to FindinSite-CD. fisLight itself is
invisible and the fisLight pane can have zero width or height.
The following example frameset uses a narrow horizontal pane at the
bottom of the window called "fisLight"
and a main information display pane called "Main", as shown on the right.
(The main pane need not show the FindinSite-CD search page initially.)
Here is a minimal web page that sets up this frameset:
<HTML>
<FRAMESET ROWS=*,50>
<FRAME SRC=search.htm NAME="Main"> <!-- first frame -->
<FRAME SRC=fislight.htm NAME="fisLight"> <!-- second frame -->
</FRAMESET>
</HTML>
Here is the minimal code that you must put in fislight.htm.
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
</HEAD>
<BODY>
<APPLET CODE=fisLight NAME=fisLight WIDTH=0 HEIGHT=0 ARCHIVE=fislite1.zip MAYSCRIPT>
<PARAM NAME=cabbase VALUE="fislite1.cab">
</APPLET>
</BODY>
</HTML>
You need to alter the standard FindinSite-CD search page for this new layout.
The following basic FindinSite-CD page shows the changes highlighted in bold orange.
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">
<TITLE>FindinSite-CD</TITLE>
</HEAD>
<BODY>
<APPLET CODE=fisCD WIDTH=500 HEIGHT=300 NAME=fisCD ARCHIVE=fiscd.zip MAYSCRIPT>
<PARAM NAME=cabbase VALUE="fiscd.cab">
<PARAM NAME=index1 VALUE="MySite.his">
<PARAM NAME=rules VALUE="rulesen.txt">
<PARAM NAME=target VALUE="Main">
<PARAM NAME=highlight VALUE="frameset,1">
</APPLET>
</BODY>
</HTML>
- Set the target parameter to
Main so that the FindinSite-CD output goes in the Main pane.
- Set the highlight parameter to
frameset,1
The number is the frame number minus one.
In this case, fisLight is in the second frame of the frameset, so put
2 minus 1 = 1
after frameset.
The default frame number is zero, so the number can be omitted if fisLight is in the
first frame of a frameset.