
INSTRUCTIONS FOR QUIZES

------------------


quiz1.htm is the all questions on one page page
quiz2.htm is one questions displayed at a time


------------------


To insert the quizes into other pages you need to cut and paste:

 - all the HTML between the <BODY> tags
 - all the script between the <SCRIPT> tags
 - and the <STYLE> in the <HEAD>

As long as these sections remain intact, the quiz should work.


------------------


 To change the questions:

 1. Each question is in it's own <DIV>, named QuestionX. The question text is in a <P> within this.

 2. The answers are just below the question text, next to radio buttons with values 1 to 4. Remember which radio button value
	is the correct one.

 3. The next <DIV> below this is called 'QuestionXCorrectMessage'. This is the message that will be displayed when a user 
	gets the question right.

 4. The next <DIV> is called 'QuestionXCorrect'. This is displayed whenever a user gets a question wrong. 
	It explains the correct answer.

5. The next three <DIV>s are displayed to explain why a user got a question wrong. So for instance if a user selected the second 
	answer, which was wrong, the <DIV> called 'QuestionXWrong2' will be displayed. If they selected the fourth answer 
	'QuestionXWrong4' would be displayed and so on. Therefore there should be three DIVs like this - there does not need to be 
	one for the correct answer.

6. Now to tell the script which are the correct answers. Look for a line in the JavaScript similar to:

		correctAnswers = new Array(2, 3, 1, 2, 1, 3, 2, 3, 2, 4);

	The numbers correspond to the radio button that matches the correct answer.

7. To change the images used for ticks and crosses in the answers, edit the following lines in the JavaScript:

	yesImage.src = "images/1.gif";
	noImage.src = "images/0.gif";
