");
parent.Reading.document.close();
}
function WriteToTimer(Stuff){
parent.Timer.document.clear();
parent.Timer.document.open();
parent.Timer.document.writeln (Stuff);
parent.Timer.document.close();
}
function CheckAnswer(QNum, AnsNum, Correct) {
whichfb = (5*(QNum-1) + AnsNum)
if (Correct == 1) {
if (DoneStatus[QNum] != '1'){
Tries = Tries + 1;
DoneStatus[QNum] = '1';
Score = Score + 1;}
if (eval(IndicatorName[whichfb]) != null){
eval(IndicatorName[whichfb]).value = rightchar}
Feedback = Responses[whichfb]
if (Feedback == '') {Feedback = DefaultRight}
Percent = Math.floor(Score*100/Tries) + '%';
Feedback = Feedback + '
' + YourScore + ' ' + Percent + '.';
var i = 0;
var AllDone = true;
for (i=1; i
';
}
WriteFeedback(Feedback);
}
else {
if (DoneStatus[QNum] != '1'){
Tries = Tries + 1;}
if (eval(IndicatorName[whichfb]) != null){
eval(IndicatorName[whichfb]).value = wrongchar}
Feedback = Responses[whichfb]
if (Feedback == '') {Feedback = DefaultWrong}
WriteFeedback(Feedback)
}
}
function WriteFeedback(Feedback) {
parent.FeedbackFrame.document.clear();
parent.FeedbackFrame.document.open();
parent.FeedbackFrame.document.writeln("");
parent.FeedbackFrame.document.writeln("
");
parent.FeedbackFrame.document.writeln("");
parent.FeedbackFrame.document.writeln(Feedback);
parent.FeedbackFrame.document.writeln("
");
parent.FeedbackFrame.document.close();
}
Islamic Quiz?
Click on the buttons until you find the correct answer