';
F[0][1] = 1;
F[1] = new Array();
F[1][0]='';
F[1][1] = 2;
F[2] = new Array();
F[2][0]='';
F[2][1] = 3;
F[3] = new Array();
F[3][0]='';
F[3][1] = 4;
F[4] = new Array();
F[4][0]='';
F[4][1] = 5;
D = new Array();
D[0] = new Array();
D[0][0]='
';
D[0][1] = 1;
D[0][2] = 0;
D[1] = new Array();
D[1][0]='
';
D[1][1] = 2;
D[1][2] = 0;
D[2] = new Array();
D[2][0]='
';
D[2][1] = 3;
D[2][2] = 0;
D[3] = new Array();
D[3][0]='
';
D[3][1] = 4;
D[3][2] = 0;
D[4] = new Array();
D[4][0]='
';
D[4][1] = 5;
D[4][2] = 0;
function ReduceItems2(){
var ItemToDump=0;
var j=0;
while (F.length > QsToShow){
ItemToDump = Math.floor(F.length*Math.random());
for (j=ItemToDump; j<(F.length-1); j++){
F[j] = F[j+1];
}
for (j=ItemToDump; j<(D.length-1); j++){
D[j] = D[j+1];
}
F.length = F.length-1;
D.length = D.length-1;
}
}
function TimerStartUp(){
setTimeout('StartUp()', 300);
}
function CheckAnswers(){
if (Locked == true){return;}
//Set the default score and response
var TotalCorrect = 0;
Score = 0;
var Feedback = '';
//for each fixed, check to see if the tag value for the draggable is the same as the fixed
if (AnswersTried.length > 0){AnswersTried += ' | ';}
var i, j;
for (i=0; i
' + CorrectResponse);
}
else {
Feedback = YourScoreIs + ' ' + Score + '%.' + '
' + IncorrectResponse;
ShowMessage(Feedback);
Penalties++; // Penalty for inaccurate check
}
//If the exercise is over, deal with that
if ((AllDone == true)||(TimeOver == true)){
TimeOver = true;
Locked = true;
Finished = true;
setTimeout('Finish()', SubmissionTimeout);
WriteToInstructions(Feedback);
}
}
//-->
//]]>
Communiquer en classe - Associez sons et images
Brought to you by Herman Koutouan a.k.a. Professor Frenchtastic