'; //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 = '#ffffff';
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';
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';
F[5] = new Array();
F[5][0]='';
F[5][1]='6';
D = new Array();
D[0] = new Array();
D[0][0]='Catherine of Aragon';
D[0][1]='1';
D[0][2]='0';
D[1] = new Array();
D[1][0]='Anne Boleyn';
D[1][1]='2';
D[1][2]='0';
D[2] = new Array();
D[2][0]='Jane Seymour';
D[2][1]='3';
D[2][2]='0';
D[3] = new Array();
D[3][0]='Anne of Cleves';
D[3][1]='4';
D[3][2]='0';
D[4] = new Array();
D[4][0]='Kathryn Howard';
D[4][1]='5';
D[4][2]='0';
D[5] = new Array();
D[5][0]='Katherine Parr';
D[5][1]='6';
D[5][2]='0';
function Shuffle(InArray){
Temp = new Array();
var Len = InArray.length;
var j = Len;
for (var 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';
}
//-->
//]]>
The Wives of Henry VIII
Matching exercise
The pictures on the left are in the order that Henry VIII married these women. Can you match the name on the right with the correct picture?