WebRespond: Appearance File
The appearance of WebRespond is directed by the files WRLOOK.SER and WRLOOK.TXT.
The first file is generated by the registration software and is necessary
for any customization of the appearance of WebRespond. If this file
is not present or not registered for the present server, a default appearance
will be used. (Select this link to see the
default specification for the appearance.) Once WRLOOK.SER is
loaded by WebRespond, it looks for WRLOOK.TXT. This second file contains
any additional modification that need to be made on the appearance for
this specific quiz. If no additional changes are needed, then WRLOOK.TXT
does not need to be present. These files should be placed in the
same directory as the web page calling WebRespond.
Note for Version 2.1 users:
The class serialized into WRLOOK.SER
has been changed in version 2.1. You must re-register your appearance
files when you upgrade to Version 2.1, otherwise you will get a serialization
error. The format of the appearance file WRLOOK.TXT has not changed,
so nothing else needs to be done other than updating the serialized file.
All of the text labels, introduction page, and closing page can
be modified by the appearance file. This should make it possible
to customize WebRespond to an international setting. The appearance
file has not been tested with Unicode characters and it is assumed that
the user will be using an ASCII compatible editor to change the appearance
file.
The tags used in the appearance file are listed below along with a description
as to their purpose. They are grouped according to the portion of
WebRespond that they affect.
Several variables are defined in WebRespond and can be accessed with
the following special symbols.
-
&totalc; - This gives the total number of correct answers for
the quiz.
-
&totalq; - This gives the total number of question asked for
the quiz.
-
&totala; - This gives the total number of questions answered
by the student in the quiz.
These variable can only be accessed by the STATUSTEXT, RESULTTEXT, FINISHPANELTEXT,
and ENDPAGE tags.
General Appearance
These tags control the color and fonts used by WebRespond.
-
<WRIMAGE> - This tag specifies the background image
to be displayed on the introduction, option, and closing panels.
The address for this image must be absolute or relative to the web page
calling WebRespond.
-
<WRFONTNAME> - This tag specifies the font name
used when displaying text. This is treated as the basefont for any
HTML tags used in the introduction, option, and closing panels in WebRespond.
-
<WRFONTSIZE> - This tag specifies the font size
used when displaying text. This is treated as the basefont for any
HTML tags used in the introduction, option, and closing panels in WebRespond.
-
<WRBUTTONFONTNAME> - This tag specifies the font name
used when displaying text on buttons and labels in WebRespond.
-
<WRBUTTONFONTSIZE> - This tag specifies the font size
used when displaying text on buttons and labels in WebRespond..
-
<WRBACKGROUND> - This tag specifies the background color
for all the applet component of WebRespond. It consists of an ordered
triplet of numbers ranging from 0 to 255 and separated by commas.
The first number is the intensity of red, the second the intensity of green,
and the third the intensity of green. If this parameter is not specified,
an appropriate color will be obtained from the system color palette.
-
<WRFOREGROUND> - This tag specifies the foreground color
for all the applet component of WebRespond. This includes all text
labels. It consists of an ordered triplet of numbers ranging from
0 to 255 and separated by commas. The first number is the intensity
of red, the second the intensity of green, and the third the intensity
of green. If this parameter is not specified, an appropriate color will
be obtained from the system color palette.
-
<WRHIGHLIGHT> - This tag specifies the highlight color
for all the applet component of WebRespond. Currently this color
is only used when displaying the timer under 1 minute and the results of
the quiz in review mode. It consists of an ordered triplet of numbers
ranging from 0 to 255 and separated by commas. The first number is
the intensity of red, the second the intensity of green, and the third
the intensity of green.
-
<WRBUTTONBACKGROUND> - This tag specifies the background
color for all the buttons and labels of WebRespond. It
consists of an ordered triplet of numbers ranging from 0 to 255 and separated
by commas. The first number is the intensity of red, the second the
intensity of green, and the third the intensity of green. If this parameter
is not specified, an appropriate color will be obtained from the system
color palette.
-
<WRBUTTONFOREGROUND> - This tag specifies the foreground
color for all the buttons and labels of WebRespond. This
includes all text labels. It consists of an ordered triplet of numbers
ranging from 0 to 255 and separated by commas. The first number is
the intensity of red, the second the intensity of green, and the third
the intensity of green. If this parameter is not specified, an appropriate
color will be obtained from the system color palette.
-
<WRLINK> - This tag specifies the color for all
HTML text associated with a hyperlink in WebRespond. Currently
this parameter is not currently used, but is included for use in future
versions of WebRespond. It consists of an ordered triplet of numbers
ranging from 0 to 255 and separated by commas. The first number is
the intensity of red, the second the intensity of green, and the third
the intensity of green.
Dialog Box Messages and Labels
-
<MESSAGEOKAYBUTTON> - This tag determines the text on the
dismissal button of the dialog box.
-
<ERRORMESSAGETITLE> - This tag determines the text displayed
at the top of the dialog box when an error has occured.
-
<LOGINMESSAGETITLE> - This tag determines the text displayed
at the top of the dialog box when the user incorrectly logs into the quiz.
-
<NOTIFYMESSAGETITLE> - This tag determines the text displayed
at the top of the dialog box when the user needs to be notified of a special
result such as successful email delivery or quiz terminated by the timer.
-
<EMAILERROR> - This tag determines the message displayed
when WebRespond is unable to submit the quiz results via email.
-
<EMAILSUCCESS> - This tag determines the message displayed
when WebRespond successfully submits a quiz via email.
-
<EARLYACCESS> - This tag determines the message displayed
when a quiz is accessed before its active date.
-
<LATEACCESS> - This tag determines the message displayed
when a quiz is accessed after it has expired.
-
<OUTOFTIME> - This tag determines the message displayed
when the timer expires and terminates the quiz.
-
<LOGINMESSAGETEXT> - This tag determines the message displayed
when a user fails to specify a login name and password.
-
<INCORRECTLOGIN> - This tag determines the message displayed
when a user gives either an incorrect login name or password.
-
<EXCEEDEDLOGIN> - This tag determines the message displayed
when the user exceeds their maximum number of login attempts.
Introduction Page
-
<NAMELABEL> - This tag sets the text for the login name
textfield label.
-
<PASSWORDLABEL> - This tag sets the text for the password
textfield label.
-
<BEGINBUTTON> - This tag sets the label on the button used
to start the quiz after entering the login information.
-
<QUITBUTTON> - This tag sets the label on the button used
to leave the introduction page and go directly to the closing page without
taking the quiz.
-
<INTROPAGE> - This tag provides the block of text displayed
at the top of the introduction page.
-
<LOGININSTRUCTION> - This tag provides the block of text
describing the login procedure. If no login fields are specified,
then this text is not displayed.
Question Page Messages and Labels
-
<TOOLBAR> - This tag allows location of the navigation
bar (at the top of the page) to be swapped with the status bar (at the
bottom of the page). If the tag <TOOLBAR>original</TOOLBAR>
is used, the navigation bar is placed at the top as in the original version
of WebRespond. If the tag <TOOLBAR>flip</TOOLBAR> is used,
the status bar is placed at the top. This option was provided as
a response to feedback indicating that the option to move to the next question
should be at the bottom right corner.
-
<PREVIOUSBUTTON> - This tag sets the text of the button
used to return to the previous question.
-
<NEXTBUTTON> - This tag sets the text of the button used
to move to the next question.
-
<QUESTIONNUMBER> - This tag sets the text placed before
the choice box, which list the number of the current question.
-
<CLEARBUTTON> - This tag sets the text of the button used
to clear a previous response to a question.
-
<DONEBUTTON> - This tag sets the text of the button used
to end the quiz and go to the option page. The default value is "Done";
however, it may be more appropriate to use the word "Exit". This
would convey more effectively that this button will exit the quiz.
-
<YOURSELECTION> - This tag sets the text of the label placed
before the student's response for the current question.
-
<STATUSTEXT> - This tag sets the text of the label displaying
the student's current status within the quiz. The special symbol
combination &totala; and &totalq; are used to display
the number of questions answered and the total number of questions respectively.
-
<RESULTTEXT> - This tag sets the text of the label displaying
the outcome of the student's quiz. It is displayed on the review
version of the question page and can contain the special symbol combinations
&totalc;,
&totala;,
and &totalq;. These have the same meaning as described
with the previous tag with the addition that &totalc; is the
total number of questions correctly answered.
-
<TIMERTEXT> - This tag sets the text of the label displayed
above the timer, which indicates the amount of time remaining for the quiz
as specified with the Timer tag under the Master File
description.
-
<QTIMERTEXT> - This tag sets the text of the label displayed
above the time, which indicates the amount of time remaining for the current
question as specified with the Timer tag under the Master
File description.
-
<NORESPONSEGIVEN> - This tag sets the text of the label
displayed in the status area to indicate that no answer has been given
for the current question.
-
<MISSINGQUESTIONS> - This tag sets the text displayed in
the question area when a question is missing key information. A lot
of liberality is given for the different question types; however, it there
is not enough information present to make any sense, this message is displayed.
-
<UNLOADEDQUESTION> - This tag sets the text displayed in the
question area when a question can not be loaded. This may indicate
a network problem or may involve a miss named question file in the master
file.
Question Page Appearance
-
<QUFONTNAME> - This tag specifies the font name
used when displaying text in the question area. The master file can
contain a tag which overrides this option. Acceptable values for
this tag are Serif, SanSerif, and MonoSpaced.
-
<QUFONTSIZE> - This tag specifies the font size
used when displaying text in the question area. The master file can
contain a tag which overrides this option.
-
<QUBACKGROUND> - This tag specifies the background color
displayed in the question area. The master file can contain a tag
which overrides this option. The entry for this tag consists of an
ordered triplet of numbers ranging from 0 to 255 and separated by commas.
The first number is the intensity of red, the second the intensity of green,
and the third the intensity of green. If this parameter is not specified,
an appropriate color will be obtained from the system color palette.
-
<QUFOREGROUND> - This tag specifies the text color displayed
in the question area. The master file can contain a tag which overrides
this option. The entry for this tag consists of an ordered triplet
of numbers ranging from 0 to 255 and separated by commas. The first
number is the intensity of red, the second the intensity of green, and
the third the intensity of green. If this parameter is not specified, an
appropriate color will be obtained from the system color palette.
-
<QUBUTTONFONTNAME> - This tag specifies the font name
used when displaying text on the question area buttons and labels.
Acceptable values for this tag are Serif, SanSerif, and MonoSpaced.
-
<QUBUTTONFONTSIZE> - This tag specifies the font size
used when displaying text on the question area buttons and labels.
-
<QUBUTTONBACKGROUND> - This tag specifies the background color
for buttons displayed in the question area. The entry for this tag
consists of an ordered triplet of numbers ranging from 0 to 255 and separated
by commas. The first number is the intensity of red, the second the
intensity of green, and the third the intensity of green. If this parameter
is not specified, an appropriate color will be obtained from the system
color palette.
-
<QUBUTTONFOREGROUND> - This tag specifies the text color for
buttons and labels displayed in the question area. The entry for
this tag consists of an ordered triplet of numbers ranging from 0 to 255
and separated by commas. The first number is the intensity of red,
the second the intensity of green, and the third the intensity of green.
If this parameter is not specified, an appropriate color will be obtained
from the system color palette.
Option Page Labels and Messages
-
<RETURNBUTTON> - This tag sets the text of the button used
to leave the option page and answer more questions.
-
<REVIEWBUTTON> - This tag sets the text of the button used
to leave the option page and review the results of the quiz.
-
<FINISHBUTTON> - This tag sets the text of the button used
to leave the option page and go to the closing page.
-
<FINISHPANELTEXT> - This tag sets the block of text used
at the top of the option page. It can be used to give some concluding
remarks while the student still has a chance to return to the quiz.
This tag can contain the special symbol combinations &totala; and &totalq;
as described above.
-
<RETURNLABEL> - This tag sets the text used to describe
the return button. This text is placed to the right of the button.
-
<REVIEWLABEL> - This tag sets the text used to describe
the review button. This text is placed to the right of the button.
-
<FINISHLABEL> - This tag sets the text used to describe
the finish button. This text is placed to the right of the button.
Question Page Review Mode Labels
-
<YOURANSWER> - This tag sets the text used to preface the
students answer in the question area during review mode.
-
<CORRECTANSWER> - This tag sets the text used to preface
the correct answer in the question area during review mode.
-
<YOURCORRECTANSWER> - This tag sets the text used to indicate
that the student's answer is correct.
-
<NONEGIVEN> - This tag sets the text used to indicate that
the student did not provide an answer for this question.
-
<MOREINFORMATION> - This tag sets the text used to describe
the hyperlink provided by the question file.
-
<NONEAVAILABLE> - This tag sets the text used to indicate
that the question file did not provide a correct answer.
-
<NOTHINGASKED> - This tag sets the text used to indicate
that the question file did not ask the student for the question.
This appears for True/False or Multiple Choice questions where the correct
and incorrect answers are not present. This technique is used to
provide information pages that ask no questions.
-
<QUESTIONFAILEDLOAD> - This tag sets the text used to indicate
that a question failed to load from the network.
Question Page Labels Related to Specific Question Types
-
<ANSWERGIVEN> - This tag specifies the text used in the
status area to indicate that an answer was provided in an essay question.
-
<QUBUTTONTRUE> - This tag sets the text used on the TRUE
button for a true/false question.
-
<QUBUTTONFALSE> - This tag sets the text used on the FALSE
button for a true/false question.
-
<QUBUTTONA> - This tag sets the label on the first option
in a multiple choice question.
-
<QUBUTTONB> - This tag sets the label on the second option
in a multiple choice question.
-
<QUBUTTONC> - This tag sets the label on the third option
in a multiple choice question.
-
<QUBUTTOND> - This tag sets the label on the fourth option
in a multiple choice question.
-
<QUBUTTONE> - This tag sets the label on the fifth option
in a multiple choice question.
-
<QUBUTTONF> - This tag sets the label on the sixth option
in a multiple choice question.
-
<ALLANSWERED> - This tag specifies the text used in the
status area to indicate that all the text fields have been answered in
a short answer question.
-
<PARTANSWERED> - This tag specifies the text used in the
status area to indicate that some, but not all the text fields have been
answered in a short answer question.
Closing Page Label and Message
-
<ENDPAGE> - This tag sets the block of text displayed on
the closing page of the quiz. This should contain any final comments
and possible contact information about the quiz.