|
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 next button. Typical values are "Next",
"Next Questions" or "Continue". The default value is "Next >>".
|
|
question_number |
The question number that this applet corresponds to - such as
"1" for question number 1 of the test or "25" for question
number 25 of the test. This number must be an integer.
|
|
expected_answer |
The expected (correct) answer for the question number that
this applet corresponds to. For True/False questions, this
parameter might get set to "True" or "False". For multiple
choice questions, this parameter might get set to "A" or "B".
Just make sure this value corresponds to the answer that you
expect for the corresponding question.
|
|
answer_explanation |
This parameter allows you to specify the explanation of the
answer. Whatever "explanation" you enter here will be
displayed in the message window if the user gets the
corresponding question wrong. You may use HTML tags when
specifying this "explanation".
|
|
correct_message |
This parameter allows you to specify the text that will
be displayed in the message window when the user gets the
corresponding question correct. Typical values for this
parameter are "Correct!" or "Right!". The default
value is "Correct!". Note that you may use HTML tags when
specifying this message.
|
|
message_instructions |
This parameter allows you to specify the instructions that
will be displayed at the bottom of the message window...
directly after the message explanation. An example value
might be: "<I>Press <B>Next</B> Again
To Continue</I>". Note that you may use HTML tags when
specifying this message.
|
|
next_page |
This parameter allows you to specify the next HTML page that will
be displayed after the user finishes this question. You may specify
the full URL of the next page here (if the test is online)... or
you may simply specify the name of the next page. Note if just specify
the name of the next page (as opposed to specifying the full URL), be
sure to specify the page relative to your "classes" directory. That is,
because of how the CODEBASE works, you must specify the next html as a
relative path from your "classes" directory ... such as "../html/next.html"
or "../mytest/next.html".
|
|
next_page_target |
This parameter allows you to specify the "target" window/frame in which
the "NEXT" page will be displayed. The default value of this parameter
is "_top".
|
|
message_target |
This parameter allows you to specify the "target" window/frame in which
the "Message Window" will be displayed. The default value of this parameter
is "_new", but it is recommended to direct it into a specific frame or
message window.
|
|
message_background_color |
This parameter allows you to specify the background color
of the message window. It can be specified as
any RGB value such as "#FFFFFF".
|
|
message_font_color |
This parameter allows you to specify the color of the font
used in the message window. It can be specified as any RGB
value such as "#FF0000".
|
|
message_font_face |
This parameter allows you to specify the name of the font
used in the message window. Typical values are "Arial" or
"Verdana". The default value is "Verdana,Arial,Helvetica".
|
|
message_font_size |
This parameter allows you to specify the size of the font
used in the message window. Typical values are "2", "3", or "4".
The default value is "2".
|