Applet: uTestResetButton2
|
Description:
The uTestResetButton2 applet is an applet that allows users to reset
their entire test. That is, when a user presses this "Reset" button,
all answers are cleared and the test time/counters are reset back to
zero.
An optional "link" parameter allows this applet to be used as a "Start Test"
button by linking users to the first page of the test. If the "link"
parameter is not used, then a simple pop-up window will be displayed when
this "Reset" button is pressed.
Note: This applet will not automatically update the display of the
applets on the current page. That is, users won't see answers on the current
page get "erased" until they move to another page.
Note 2: This applet is identical to the "uTestResetButton1" applet
except this applet appears as a standard button instead of a specified
image.
|
Example:
Below is an example of what this applet will look like:
And here is the HTML used to generate the applet:
<APPLET CODE="uTestResetButton2.class" CODEBASE="../classes/" WIDTH=120 HEIGHT=30>
<PARAM NAME="label" VALUE="Reset Test">
</APPLET>
|
|
|
Parameters:
|
Name
|
Description
|
|
codebase |
This parameter is actually part of the <APPLET> tag and therefore
should be specified on the first line of the Applet (see example). It
allows you to specify the location of this applet's class file.
The recommended value is "../classes/".
See codebase
for more information.
|
|
label |
This parameter allows you to specify the label that will be
displayed on the reset button. Typical values are "Reset",
"Reset Test" or "Begin Test". The default value is "Reset".
|
|
link |
If desired, this parameter allows you to link users to another
HTML page when the reset button is pressed. To link users
to another HTML page, simply specify the HTML file name or the URL
that you want to link users to. If you do not want link users
to another page when the reset button is pressed, then
leave this parameter blank or set it to "NONE".
|
|
target |
If this applet is configured to link users to another page when
the reset button is pressed, then this parameter allows you to
specify the "target" window/frame for the link.
The default value of this parameter is "_top".
|
|
|
|