Row Frame Example

The row frame example uses an HTML FRAMESET tag to create two horizontally-split frames in the web browser:

<FRAMESET rows="275,100%">
<FRAME src="row.htm" scrolling=no>
<FRAME name="show" src="readme.htm">
</FRAMESET>

The top frame loads the file row.htm, which has the tags for running the applet. The bottom frame initially loads the readme.htm file; this frame is re-used to display any documents that are loaded by clicking on items in the SiteSurfer applet.

The row.htm file's HTML APPLET tag uses several interesting parameters, most of which are discussed in Customizing SiteSurfer Applet Tags. In particular, note the two lines:

<PARAM NAME="DISPLAYTYPE" VALUE="EMBEDDED">
<PARAM NAME="DOCUMENTFRAME" VALUE="show">

The DISPLAYTYPE parameter tells SiteSurfer how to present itself in the page. Here it is set to EMBEDDED, which causes the Search View's results list to show in a separate dialog, rather than take up space in the main browser window.

The DOCUMENTFRAME parameter tells SiteSurfer where to load any documents in the web browser. Note that this name is "show", which is the same name specified for the right-side frame in the FRAMESET tag above.

Unlike the column frame example, the row.htm applet does not have a Help button. This can be easily added with the following lines of HTML:

<PARAM NAME="HELPURL" VALUE="help.htm">
<PARAM NAME="HELPFRAME" VALUE="show">
These lines will instruct the SiteSurfer applet to load the help.htm file shipped with SiteSurfer. You can replace this file with anything of your choosing, like "myhelp.htm".