'; //required for Navigator rendering bug with images
if (FC[i].GetW() > Widest){
Widest = FC[i].GetW();
}
}
if (Widest > DragWidth){Widest = DragWidth;}
CurrTop = DragTop;
DragWidth = Math.floor((DivWidth-Widest)/2) - 24;
RightColPos = DivWidth + LeftColPos - (DragWidth + 14);
var Highest = 0;
var WidestRight = 0;
for (i=0; i'; //required for Navigator rendering bug with images
if (DC[i].GetW() > DragWidth){DC[i].SetW(DragWidth);}
DC[i].css.cursor = 'move';
DC[i].css.backgroundColor = '#ccccff';
DC[i].css.color = '#000000';
TempInt = DC[i].GetH();
if (TempInt > Highest){Highest = TempInt;}
TempInt = DC[i].GetW();
if (TempInt > WidestRight){WidestRight = TempInt;}
}
var HeightToSet = Highest;
if (is.ns||is.ie5mac){HeightToSet -= 12;}
var WidthToSet = WidestRight;
if (is.ns||is.ie5mac){WidthToSet -= 12;}
for (i=0; i 0)){
TotalCorrect++;
}
else{
DC[i].GoHome();
}
}
Score = Math.floor((100*(TotalCorrect-Penalties))/F.length);
if (TotalCorrect == F.length) {
Response = YourScoreIs + ' ' + Score + '%.
' + CorrectResponse;
WriteFeedback(Response);
}
else {
Response = IncorrectResponse + '
' + YourScoreIs + ' ' + Score + '%.';
WriteFeedback(Response);
Penalties++; // Penalty for inaccurate check
}
}
function WriteFeedback(Feedback){
var Output = Feedback + '
';
Output += '';
var FDiv = document.getElementById('FeedbackDiv');
FDiv.innerHTML = Output;
//Calculate and set its left setting
// FDiv.style.left = ((Math.floor(pg.W/2))-(Math.floor(GetRealWidth('FeedbackDiv')/2))) +'px';
topZ++;
FDiv.style.zIndex = topZ;
//Add a border to the feedback div
document.getElementById('FeedbackDiv').style.borderStyle = 'solid';
FDiv.style.display='';
}
function HideFeedback(){
var FDiv = document.getElementById('FeedbackDiv');
FDiv.innerHTML = '';
FDiv.style.display='none';
}
//-->
//]]>
Parmi les mots proposés, trouvez ceux qui correspondent à chaque définition donnée.
Matching exercise
Match the items on the right with the items on the left.