Le roman
Bild: Le roman
roman.htm
— 24 KB
Dateiinhalt
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
xml:lang="en"><head><meta name="author" content="Created with Hot Potatoes by Half-Baked Software, registered to Richard Nisius."></meta><meta name="keywords" content="Hot Potatoes, Half-Baked Software, Windows, University of Victoria"></meta>
<link rel="schema.DC" href="http://purl.org/dc/elements/1.1/" />
<meta name="DC:Creator" content="Richard Nisius" />
<meta name="DC:Title" content="Le roman" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>
Le roman
</title>
<!-- Made with executable version 5.5 Release 0 Build 9 -->
<style type="text/css">
body{
font-family: Geneva,Arial;
background-color: #FDE0B6;
color: #ff0000;
margin-right: 5%;
margin-left: 5%;
font-size: small;
}
input.AnswerBox{
font-family: Geneva,Arial;
font-size: small;
}
.ClueText{
font-size: small;
}
p{
text-align: justify;
margin: 0px;
font-size: small;
}
div,span{
font-size: small;
}
div.Titles{
padding-top: 10px;
text-align: center;
margin-bottom: 4px;
color: #993366;
}
.ExerciseTitle{
font-size: large;
}
.ExerciseSubtitle{
}
span.Instructions{
}
div.ExerciseText{
}
.FeedbackText{
}
span.GridLetter{
color: #000000;
background-color: #ffffff;
font-weight: bold;
vertical-align: baseline;
}
td{
color: #ff0000;
}
div.Feedback {
background-color: #FDE0B6;
left: 1px;
top: 33%;
z-index: 1;
border-style: solid;
border-width: 1px;
padding: 5px;
text-align: center;
color: #993366;
position: absolute;
display: none;
font-size: small;
}
div.ExerciseDiv{
color: #ff0000;
}
div.StdDiv{
background-color: #FDE0B6;
text-align: center;
font-size: smaller;
color: #ff0000;
padding: 8px;
border-style: solid;
border-width: 1px 1px 1px 1px;
border-color: #ff0000;
margin: 1px;
}
.FunctionButton {
background-color: #FDE0B6;
color: #ff0000;
text-align: center;
border-style: solid;
border-color: #FDE0B6;
border-width: 2px;
padding: 3px 6px 3px 6px;
cursor: pointer;
}
div.NavButtonBar{
background-color: #800000;
text-align: center;
margin: 2px 0px 2px 0px;
clear: both;
font-size: small;
}
div.NavButtonBar button {
border-style: solid;
border-color: #800000;
background-color: #800000;
border-width: 2px;
padding: 2px 2px 2px 2px;
color: #ffffff;
cursor: pointer;
}
a{
color: #0000ff;
}
a: visited{
color: #0000cc;
}
a:hover{
color: #0000ff;
}
</style>
<script type="text/javascript">
//<![CDATA[
<!--
// BrowserCheck Object
function BrowserCheck() {
var b = navigator.appName;
this.mac = (navigator.appVersion.indexOf('Mac') != -1);
if (b=="Netscape") this.b = 'ns';
else if (b=="Microsoft Internet Explorer") this.b = 'ie';
else this.b = b;
this.ns = (this.b == 'ns');
this.ie = (this.b == 'ie');
this.version = navigator.appVersion;
if (this.b == 'ie'){
var x = this.version.indexOf('MSIE ') + 5;
var vnum = '';
while ((this.version.charAt(x) > -1)&&(this.version.charAt(x) < 10)){
vnum += this.version.charAt(x);
x++;
}
this.v = parseInt(vnum);
}
else{
this.v = parseInt(this.version);
}
if (this.ns&&(this.v == 5)){
this.v = 6;
}
this.min = (this.v > 5);
}
is = new BrowserCheck();
if ((is.min == false)||(is.ie5mac)){
alert('Your browser can\'t handle this page. You need NS6+ or IE6+ on Windows, or NS6+ on Mac.');
}
function PageDim(){
//Get the page width and height
this.W = 600;
this.H = 400;
if (is.ns) this.W = window.innerWidth;
if (is.ie) this.W = document.body.clientWidth;
if (is.ns) this.H = window.innerHeight;
if (is.ie) this.H = document.body.clientHeight;
}
var pg = null;
var InGap = false;
function SuppressBackspace(e){
if (InGap == true){
return;
}
if (is.ns) {
thisKey = e.keyCode;
}
else {
thisKey = window.event.keyCode;
}
var Suppress = false;
if (thisKey == 8) {
Suppress = true;
}
if (Suppress == true){
if (is.ie){
window.event.returnValue = false;
window.event.cancelBubble = true;
}
else{
e.preventDefault();
}
}
}
var NavLightColor = '#bf7f7f';
var NavShadeColor = '#400000';
var NavBarColor = '#800000';
var FuncLightColor = '#feefda';
var FuncShadeColor = '#7e705b';
var ExBGColor = '#FDE0B6';
function NavBtnOver(Btn){
Btn.style.padding = '1px 3px 3px 1px';
Btn.style.borderLeftColor = NavLightColor;
Btn.style.borderTopColor = NavLightColor;
Btn.style.borderRightColor = NavShadeColor;
Btn.style.borderBottomColor = NavShadeColor;
}
function NavBtnOut(Btn){
Btn.style.borderColor = NavBarColor;
Btn.style.padding = '2px 2px 2px 2px';
}
function NavBtnDown(Btn){
Btn.style.borderLeftColor = NavShadeColor;
Btn.style.borderTopColor = NavShadeColor;
Btn.style.borderRightColor = NavLightColor;
Btn.style.borderBottomColor = NavLightColor;
Btn.style.padding = '3px 1px 1px 3px';
}
function FuncBtnOver(Btn){
Btn.style.padding = '2px 7px 4px 5px';
Btn.style.borderLeftColor = FuncLightColor;
Btn.style.borderTopColor = FuncLightColor;
Btn.style.borderRightColor = FuncShadeColor;
Btn.style.borderBottomColor = FuncShadeColor;
}
function FuncBtnOut(Btn){
Btn.style.borderColor = '#FDE0B6';
Btn.style.padding = '3px 6px 3px 6px';
}
function FuncBtnDown(Btn){
Btn.style.borderLeftColor = FuncShadeColor;
Btn.style.borderTopColor = FuncShadeColor;
Btn.style.borderRightColor = FuncLightColor;
Btn.style.borderBottomColor = FuncLightColor;
Btn.style.padding = '4px 5px 2px 7px';
}
var topZ = 100;
var CurrentBox = -1;
var Feedback = '';
var CluesAcross = 'Horizontal :';
var CluesDown = 'Vertical :';
var Correct = 'Bravo, bien joué!';
var Incorrect = 'Une partie de ta réponse est correcte. Les cases erronées ont été effacées.';
var GiveHint = 'Une lettre a été ajoutée.';
var YourScoreIs = 'Ton pointage est :';
var BuiltGrid = '';
var BuiltExercise = '';
var Penalties = 0;
var FirstShow = true;
var ReadingURL = '[ReadingURL]';
var TempReading = '';
var Score = 0;
var CurrBoxElement = null;
var StartTime = (new Date()).toLocaleString();
var HPNStartTime = (new Date()).getTime();
var Finished = false;
var SubmissionTimeout = 30000;
var GridOpener = '<table border="1" style="margin: auto;" cellpadding="0" cellspacing="0">';
var GridRowOpener = '<tr>';
var GridRowCloser = '</tr>';
var BlankCell = '<td bgcolor="#000000" width="30" height="30"> </td>';
var LetterOnlyCell = '<td bgcolor="#ffffff" width="30" height="30" align="center" valign="middle"><span class="GridLetter">[Letter]</span></td>';
var NumLetterCell = '<td bgcolor="#ffffff" style="cursor: pointer; cursor: hand;" width="30" height="30" align="center" valign="top" onclick="ShowClue([ClueNum],[x],[y])"><sup><a href="javascript:DoNothing()" onclick="ShowClue([ClueNum],[x],[y])">[ClueNum]</a></sup> <span class="GridLetter">[Letter]</span></td>';
var GridCloser = '</table></center><br />';
var GetAnswerOpener = '<form name="AnswerForm" action="" onSubmit="return false;">';
GetAnswerOpener += '<table border="0" align="center" cellpadding="2" cellspacing="2">';
var GetAnswer = '<tr><td valign="top"><span class="ClueText">[ThisClue]</span></td>';
GetAnswer += '<td valign="top"><input type="text" class="AnswerBox" name="[BoxName]" size="[AnsLength]" maxlength="[AnsLength]" onfocus="InGap=true;" /></td>';
GetAnswer += '<td valign="top"><button class="FunctionButton" onfocus="FuncBtnOver(this)" onmouseover="FuncBtnOver(this)" onblur="FuncBtnOut(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="EnterAnswer(document.AnswerForm.[BoxName].value,[boolAcross],[AnsLength],[x],[y])">';
GetAnswer += ' Entrer </button></td>';
GetAnswer += '<td valign="top"><button class="FunctionButton" onfocus="FuncBtnOver(this)" onmouseover="FuncBtnOver(this)" onblur="FuncBtnOut(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="ShowHint([boolAcross],[x],[y],\'document.AnswerForm.[BoxName]\')">';
GetAnswer += ' Aide </span></td>';
GetAnswer += '</tr>';
var GetAnswerCloser = '</table></form>';
function WriteFeedback(Feedback){
var Output = Feedback + '<br /><br />';
document.getElementById('FeedbackContent').innerHTML = Output;
var FDiv = document.getElementById('FeedbackDiv');
//Calculate and set its left setting
topZ++;
FDiv.style.zIndex = topZ;
//Position the feedback div
pg = new PageDim();
FDiv.style.left = Math.floor(pg.W/3) + 'px';
FDiv.style.width = Math.floor(pg.W/3) + 'px';
//Set the top again in case the window has been resized
if (is.ns){
FDiv.style.top = Math.floor(pg.H/3) + window.pageYOffset + 'px';
}
else{
FDiv.style.top = Math.floor(pg.H/3) + document.body.scrollTop + 'px';
}
FDiv.style.display = 'block';
document.getElementById('FeedbackOKButton').focus();
InGap = false;
}
function HideFeedback(){
document.getElementById('FeedbackContent').innerHTML = '';
document.getElementById('FeedbackDiv').style.display='none';
FocusAButton();
if (Finished == true){
Finish();
}
}
function FocusAButton(){
if (document.getElementById('CheckButton1') != null){
document.getElementById('CheckButton1').focus();
}
else{
if (document.getElementById('CheckButton2') != null){
document.getElementById('CheckButton2').focus();
}
else{
document.getElementsByTagName('button')[0].focus();
}
}
}
function WriteToInstructions(Feedback) {
Feedback = '<span class="FeedbackText">' + Feedback + '</span>';
document.getElementById('InstructionsDiv').innerHTML = Feedback;
}
function WriteClue(ClueText) {
document.getElementById('ClueDiv').innerHTML = ClueText;
}
function StartUp(){
//IE bug avoidance -- remove bottom navbar
if (is.ie){
if (document.getElementById('BottomNavBar') != null){
document.getElementById('TheBody').removeChild(document.getElementById('BottomNavBar'));
}
}
if (is.ie){
document.attachEvent('onkeydown',SuppressBackspace);
window.attachEvent('onkeydown',SuppressBackspace);
}
else if (is.ns){
window.addEventListener('keypress',SuppressBackspace,false);
}
BuildExercise();
DisplayExercise();
}
function BuildExercise(){
var OutString = '';
var Temp = '';
var GridStuff = GridOpener;
for (var i=0; i<L.length; i++){
GridStuff += GridRowOpener;
for (var j=0; j<L[i].length; j++){
//If the cell is blank, add a black cell
if (L[i][j] == ''){
GridStuff += BlankCell;
}
//else there's a letter there
else{
//If there's a clue number, add it
if (C[i][j] > 0){
Temp = NumLetterCell;
Temp = ReplaceStuff('[ClueNum]', C[i][j], Temp);
//Add location info
Temp = ReplaceStuff('[x]', i, Temp);
Temp = ReplaceStuff('[y]', j, Temp);
}
//Otherwise add a blank cell
else{
Temp = LetterOnlyCell;
}
//If the cell is already answered, add the letter from the Guess array
if (G[i][j] != ''){
Temp = ReplaceStuff('[Letter]', G[i][j], Temp);
}
//Otherwise, put in a non-breaking space
else{
Temp = ReplaceStuff('[Letter]', ' ', Temp);
}
GridStuff += Temp;
}
}
GridStuff += GridRowCloser;
}
GridStuff += GridCloser;
//Put the final pieces together
OutString = GridStuff;
BuiltExercise = OutString;
}
function DisplayExercise(){
//Build the output string
var OutString = '';
OutString += BuiltExercise;
//Write it to the main div
document.getElementById('GridDiv').innerHTML = OutString;
}
function BuildClue(ClueNum,x,y,Across){
var OutString = '';
if (Across == true){
if (ClueNum >= A.length){
return '';
}
if (A[ClueNum] == null){
return '';
}
OutString = GetAnswer;
OutString = ReplaceStuff('[ThisClue]', ClueNum + '. ' + A[ClueNum], OutString);
OutString = ReplaceStuff('[BoxName]', 'BA'+ClueNum, OutString);
//Find out how long the answer is
AnsLength = 0;
i = x;
j = y;
while (j<L[i].length){
if (L[i][j] != ''){
AnsLength++;
}
else{
break;
}
j++;
}
OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString);
OutString = ReplaceStuff('[boolAcross]', 'true', OutString);
}
else{
if (ClueNum >= D.length){
return '';
}
if (D[ClueNum] == null){
return '';
}
OutString = GetAnswer;
OutString = ReplaceStuff('[ThisClue]', ClueNum + '. ' + D[ClueNum], OutString);
OutString = ReplaceStuff('[BoxName]', 'BD'+ClueNum, OutString);
//Find out how long the answer is
AnsLength = 0;
i = x;
j = y;
while (i<L.length){
if (L[i][j] != ''){
AnsLength++;
}
else{
break;
}
i++;
}
OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString);
OutString = ReplaceStuff('[boolAcross]', 'false', OutString);
}
OutString = ReplaceStuff('[x]', x ,OutString);
OutString = ReplaceStuff('[y]', y, OutString);
return OutString;
}
function ShowClue(ClueNum,x,y){
var OutString = '';
var Temp = '';
var ThisClue = '';
var AnsLength = 0;
var i;
var j;
CurrBoxElement = ClueNum;
if (A[ClueNum] != null){
ThisClue = GetAnswer;
Temp = 'Horizontal : ' + ClueNum + '. ' + A[ClueNum];
ThisClue = ReplaceStuff('[ThisClue]', Temp, ThisClue);
OutString += ThisClue;
OutString = ReplaceStuff('[BoxName]', 'BA'+ClueNum, OutString);
//Find out how long the answer is
AnsLength = 0;
i = x;
j = y;
while (j<L[i].length){
if (L[i][j] != ''){
AnsLength++;
}
else{
break;
}
j++;
}
OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString);
OutString = ReplaceStuff('[boolAcross]', 'true', OutString);
}
if (D[ClueNum] != null){
ThisClue = GetAnswer;
Temp = 'Vertical : ' + ClueNum + '. ' + D[ClueNum];
ThisClue = ReplaceStuff('[ThisClue]', Temp, ThisClue);
OutString += ThisClue;
OutString = ReplaceStuff('[BoxName]', 'BD'+ClueNum, OutString);
//Find out how long the answer is
AnsLength = 0;
i = x;
j = y;
while (i<L.length){
if (L[i][j] != ''){
AnsLength++;
}
else{
break;
}
i++;
}
OutString = ReplaceStuff('[AnsLength]', AnsLength, OutString);
OutString = ReplaceStuff('[boolAcross]', 'false', OutString);
}
OutString = GetAnswerOpener + OutString + GetAnswerCloser;
OutString = ReplaceStuff('[x]', x ,OutString);
OutString = ReplaceStuff('[y]', y, OutString);
WriteClue(OutString);
if (eval('document.AnswerForm.BA' + ClueNum) != null){
eval('document.AnswerForm.BA' + ClueNum).focus();
}
else{
if (eval('document.AnswerForm.BD' + ClueNum) != null){
eval('document.AnswerForm.BD' + ClueNum).focus();
}
}
}
function EnterAnswer(Guess,Across,AnsLength,x,y){
Guess = Guess.toUpperCase();
var i=x;
var j=y;
var Letter = 0;
while (Letter < AnsLength){
if (Letter < Guess.length){
G[i][j] = Guess.charAt(Letter);
}
if (Across == true){
j++;
}
else{
i++;
}
Letter++;
}
BuildExercise();
DisplayExercise();
InGap = false;
CurrBox = null;
}
function ShowHint(Across,x,y,BoxName){
var i=x;
var j=y;
var OutString = '';
if (Across==true){
while (j<L[i].length){
if (L[i][j] != ''){
OutString += L[i][j];
if (G[i][j] != L[i][j]){
G[i][j] = L[i][j];
Penalties++;
break;
}
}
else{
break;
}
j++;
}
}
else{
while (i<L.length){
if (L[i][j] != ''){
OutString += L[i][j];
if (G[i][j] != L[i][j]){
G[i][j] = L[i][j];
Penalties++;
break;
}
}
else{
break;
}
i++;
}
}
if (eval(BoxName) != null){
eval(BoxName).value = OutString;
}
}
function ReplaceStuff(Token, Replacement, InString){
var i = InString.indexOf(Token);
var FirstBit = '';
var LastBit = '';
while (i>-1){
FirstBit = InString.substring(0, i);
LastBit = InString.substring(i + Token.length, InString.length);
InString = FirstBit + Replacement + LastBit;
i = InString.indexOf(Token);
}
return InString;
}
L = new Array();
L[0] = new Array('','','P','E','R','S','P','E','C','T','I','V','E','','','','','');
L[1] = new Array('','','','','','E','','','','','','','','','','','','');
L[2] = new Array('R','O','M','A','N','C','I','E','R','','','','','','','','','');
L[3] = new Array('','','','','','O','','','','','','','','','P','','','');
L[4] = new Array('','','','','I','N','T','R','I','G','U','E','','','H','','','');
L[5] = new Array('','','','','','D','','','','','','','S','T','Y','L','E','');
L[6] = new Array('','','','D','','A','','','','','','','','','S','','','');
L[7] = new Array('','','','\u00C9','','I','','','','','','','','','I','','','');
L[8] = new Array('','','','N','A','R','R','A','T','R','I','C','E','','Q','','','O');
L[9] = new Array('','F','','O','','E','','','','','','','','','U','','','M');
L[10] = new Array('','I','','U','','','C','A','R','A','C','T','\u00C8','R','E','','','N');
L[11] = new Array('','C','','E','','','','','','L','','','','','','','','I');
L[12] = new Array('','T','','M','','','','C','U','L','M','I','N','A','N','T','','S');
L[13] = new Array('','I','','E','','','','','','U','','','','','','','','C');
L[14] = new Array('\u00C9','V','\u00C9','N','E','M','E','N','T','S','','','','','','','','I');
L[15] = new Array('','E','','T','','','','','','I','M','P','L','I','C','I','T','E');
L[16] = new Array('','','','','','','','','','O','','','','','','','','N');
L[17] = new Array('','','P','R','O','T','A','G','O','N','I','S','T','E','S','','','T');
C = new Array();
C[0] = new Array(0,0,1,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0);
C[1] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[2] = new Array(3,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[3] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,0,0,0);
C[4] = new Array(0,0,0,0,5,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[5] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,6,0,0,0,0,0);
C[6] = new Array(0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[7] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[8] = new Array(0,0,0,8,0,0,0,0,0,0,0,0,0,0,0,0,0,9);
C[9] = new Array(0,10,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[10] = new Array(0,0,0,0,0,0,11,0,0,12,0,0,0,0,0,0,0,0);
C[11] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[12] = new Array(0,0,0,0,0,0,0,13,0,0,0,0,0,0,0,0,0,0);
C[13] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[14] = new Array(14,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[15] = new Array(0,0,0,0,0,0,0,0,0,15,0,0,0,0,0,0,0,0);
C[16] = new Array(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
C[17] = new Array(0,0,16,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);
G = new Array();
G[0] = new Array('','','','','','','','','','','','','','','','','','');
G[1] = new Array('','','','','','','','','','','','','','','','','','');
G[2] = new Array('','','','','','','','','','','','','','','','','','');
G[3] = new Array('','','','','','','','','','','','','','','','','','');
G[4] = new Array('','','','','','','','','','','','','','','','','','');
G[5] = new Array('','','','','','','','','','','','','','','','','','');
G[6] = new Array('','','','','','','','','','','','','','','','','','');
G[7] = new Array('','','','','','','','','','','','','','','','','','');
G[8] = new Array('','','','','','','','','','','','','','','','','','');
G[9] = new Array('','','','','','','','','','','','','','','','','','');
G[10] = new Array('','','','','','','','','','','','','','','','','','');
G[11] = new Array('','','','','','','','','','','','','','','','','','');
G[12] = new Array('','','','','','','','','','','','','','','','','','');
G[13] = new Array('','','','','','','','','','','','','','','','','','');
G[14] = new Array('','','','','','','','','','','','','','','','','','');
G[15] = new Array('','','','','','','','','','','','','','','','','','');
G[16] = new Array('','','','','','','','','','','','','','','','','','');
G[17] = new Array('','','','','','','','','','','','','','','','','','');
A = new Array();
A[1]='Le point de vue, la manière de voir, l\'optique';
A[3]='Quelqu\'un qui écrit des romans';
A[5]='L\'ensemble des ... (-->14.) qui forment l\'action d\'un roman';
A[6]='La façon particulière dont quelqu\'un s\'exprime ou se comporte';
A[8]='Dans un roman, une femme qui raconte n\'est pas l\'auteur, mais la...';
A[11]='L\'ensemble des traits psychologiques et moraux de quelqu\'un';
A[13]='Le moment de la plus forte tension, c\'est le point...';
A[14]='L\'action se compose d\'...';
A[15]='Contraire de: explicite';
A[16]='Les personnages principaux';
D = new Array();
D[2]='Un personnage moins important que le personnage principal, c\'est un personnage...';
D[4]='L\'extérieur, l\'aspect d\'un personnage';
D[7]='La fin du roman';
D[9]='Le narrateur qui sait tout est...';
D[10]='L\'action d\'un roman n\'est pas réelle, mais...';
D[12]='L\'évocation de l\'idée de quelqu\'un ou de quelque chose sans en parler de façon précise';
function CheckAnswers(){
var AllCorrect = true;
var TotLetters = 0;
var CorrectLetters = 0;
//Check each letter
for (var i=0; i<L.length; i++){
for (var j=0; j<L[i].length; j++){
if (L[i][j] != ''){
TotLetters++;
if (G[i][j] != L[i][j]){
G[i][j] = '';
AllCorrect = false;
}
else{
CorrectLetters++;
}
}
}
}
Score = Math.floor(((CorrectLetters-Penalties) * 100)/TotLetters);
//Compile the output
var Output = '';
if (AllCorrect == true){
WriteClue(' ');
Output = Correct + '<br />';
}
Output += YourScoreIs + ' ' + Score + '%.<br />';
if (AllCorrect == false){
Output += Incorrect;
Penalties++;
}
BuildExercise();
WriteFeedback(Output);
WriteToInstructions(Output);
if (AllCorrect == true){
Finished = true;
setTimeout('Finish()', SubmissionTimeout);
return;
}
DisplayExercise();
}
function DoNothing(){}
function Finish(){
//If there's a form, fill it out and submit it
if (document.store != null){
Frm = document.store;
Frm.starttime.value = HPNStartTime;
Frm.endtime.value = (new Date()).getTime();
Frm.mark.value = Score;
Frm.submit();
}
}
//-->
//]]>
</script>
</head>
<!--<body>Fool those dumb ad-inserting ISPs</body>-->
<body onload="StartUp()" id="TheBody">
<!-- BeginTopNavButtons -->
<div class="NavButtonBar">
<button onfocus="NavBtnOver(this)" onblur="NavBtnOut(this)" onmouseover="NavBtnOver(this)" onmouseout="NavBtnOut(this)" onmousedown="NavBtnDown(this)" onmouseup="NavBtnOver(this)" onclick="location='unterricht/faecher/franz/umat/lit'; return false;"> Zurück zu "Literatur" </button>
</div>
<!-- EndTopNavButtons -->
<div class="Titles">
<span class="ExerciseTitle">Le roman</span><br />
<span class="ExerciseSubtitle">Mots-croisés</span><br />
</div>
<div id="InstructionsDiv" class="StdDiv">
<p id="Instructions">Complète les mots-croisés. Ensuite, clique sur le bouton "Correction". Tu peux utiliser le bouton "Aide" pour obtenir une lettre gratuite. Clique sur le numéro dans la grille pour connaître l'énoncé qui te permettra de trouver le mot. Tu peux aussi cliquer sur "Indice" pour obtenir un indice. Tu perdras des points si tu utilises "Aide" ou "Indice"!</p>
</div>
<div id="ClueDiv" class="StdDiv">
</div>
<div id="MainDiv" class="StdDiv">
<button id="CheckButton1" class="FunctionButton" onmouseover="FuncBtnOver(this)" onfocus="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" onblur="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="CheckAnswers()"> Correction </button>
<div id="GridDiv" style="margin-top: 10px;">
</div>
<button id="CheckButton2" class="FunctionButton" onmouseover="FuncBtnOver(this)" onfocus="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" onblur="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="CheckAnswers()"> Correction </button>
</div>
<div class="Feedback" id="FeedbackDiv">
<div class="FeedbackText" id="FeedbackContent"></div>
<button id="FeedbackOKButton" class="FunctionButton" onfocus="FuncBtnOver(this)" onblur="FuncBtnOut(this)" onmouseover="FuncBtnOver(this)" onmouseout="FuncBtnOut(this)" onmousedown="FuncBtnDown(this)" onmouseup="FuncBtnOver(this)" onclick="HideFeedback(); return false;"> OK </button>
</div>
<!-- BeginBottomNavButtons -->
<div class="NavButtonBar" id="BottomNavBar">
<button onfocus="NavBtnOver(this)" onblur="NavBtnOut(this)" onmouseover="NavBtnOver(this)" onmouseout="NavBtnOut(this)" onmousedown="NavBtnDown(this)" onmouseup="NavBtnOver(this)" onclick="location='unterricht/faecher/franz/umat/lit'; return false;"> Zurück zu "Literatur" </button>
</div>
<!-- EndBottomNavButtons -->
<!-- BeginSubmissionForm -->
<!-- EndSubmissionForm -->
</body>
</html>

