Inserting the ScriptHelper applet
The following HTML code inserts an instance of the ScriptHelper into your application:
<APPLET NAME="ScriptHelper" CODEBASE="..\..\.." CODE="lotus.scripthelper.ScriptHelper" WIDTH=1 HEIGHT=1>
</APPLET>
Within the APPLET tag, the various attributes do the following:
- NAME assigns a reference name to the applet so that you can refer to it in your code.
- CODEBASE specifies the base URL of the applet. That is, the directory or folder that contains the applet's code. If this attribute is not specified, then the document's URL is used.
- CODE gives the name of the file that contains the applet's compiled Applet subclass. This file is relative to the base URL of the applet. It cannot be absolute.
- WIDTH and HEIGHT define the size of the applet's display region in the HTML document. This is measured in pixels. In the case of this applet, minimal dimensions are given to the applet so that it remains invisible.