<HTML>
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<TITLE>TITRE_SUJET_QCM</TITLE>
<script language="JavaScript"><!--// hide
// hide
/* GameQuiz v1.0 by Wizzz.
Copyright (c) of Wizzz, 1997.
Permission to use, edit, etc. granted as long as the head section is intact!
Modifications et ajouts par Eric Dromer... à suivre...
*/
var rep = new Array;
var faite = new Array;
var score = 0;
// rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
// valeurs à modifier (a b c ou d) :
rep[1] = "a";
rep[2] = "a";
rep[3] = "a";
rep[4] = "a";
rep[5] = "a";
rep[6] = "a";
rep[7] = "a";
rep[8] = "a";
rep[9] = "a";
rep[10] = "a";
// rrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrr
function Engine(question, reponse) {
if (reponse != rep[question]) {
if (!faite[question]) {
faite[question] = -1;
alert("Faux! Ton score est de : " + score + " La bonne réponse était en -" + rep[question] + "-");
}
else {
alert("Tu as déjà répondu à cette question !");
}
}
else {
if (!faite[question]) {
faite[question] = -1;
score++;
alert("Bien! Ton score est de : " + score);
}
else {
alert("Tu as déjà répondu à cette question !");
}
}
}
function NextLevel () {
if (score >= 11) {
alert("Tricheur !");
}
if (score > 9 && score < 11) {
alert(score + "/10 " + "Un coup de chance !... peut-être.");
}
if (score > 8 && score <= 9) {
alert(score + "/10 " + "Bien, mais... pas parfait.");
}
if (score >= 5 && score <= 8) {
alert(score + "/10 " + "Pas mal, on a vu mieux que cela cependant...");
}
if (score >= 1 && score < 5) {
alert(score + "/10 " + "Pas terrible... un autre essai ?");
}
if (score < 1) {
alert(score + "/10 " + "Un autre essai ?");
}
// ======================================================
// ligne qui suit à modifier pour envoyer le formulaire
// (mais indiquez la méthode dans la balise du formulaire) :
// document.quest.submit()
// ligne qui suit pour vider le formulaire :
faite = new Array;
score = 0;
//ligne suivante à désactiver si IE3 ou -
document.quest.reset();
}
// --></script>
</HEAD>
<BODY bgcolor="BLACK" text="WHITE">
<h1>QUIZZ</h1><h2 align="center"><font color="YELLOW">TITRE_SUJET_QCM</font></h2>
<h3>Testez vos connaissances !!</h3>
<h4>Vous devez répondre à toutes les questions (cercle à gauche de la bonne réponse) et ensuite cliquer sur le bouton (Résultats) en bas de cette page... <br>
Bonne chance !</h4>
<p><NOSCRIPT>JavaScript est désactivé. Utilisez un autre navigateur plus récent...</NOSCRIPT> </p>
<form name="quest">
<font color="YELLOW">1 </font>Question1<BR>
<input type="radio" name="1" value="a" onclick="Engine(1, this.value)"><font color="RED"> a </font>Réponse1a<BR>
<input type="radio" name="1" value="b" onclick="Engine(1, this.value)"><font color="RED"> b </font>Réponse1b<BR>
<input type="radio" name="1" value="c" onclick="Engine(1, this.value)"><font color="RED"> c </font>Réponse1c<BR>
<input type="radio" name="1" value="d" onclick="Engine(1, this.value)"><font color="RED"> d </font>Réponse1d<BR><BR>
<font color="YELLOW">2 </font>Question2<BR>
<input type="radio" name="2" value="a" onclick="Engine(2, this.value)"><font color="RED"> a </font>Réponse2a<BR>
<input type="radio" name="2" value="b" onclick="Engine(2, this.value)"><font color="RED"> b </font>Réponse2b<BR>
<input type="radio" name="2" value="c" onclick="Engine(2, this.value)"><font color="RED"> c </font>Réponse2c<BR>
<input type="radio" name="2" value="d" onclick="Engine(2, this.value)"><font color="RED"> d </font>Réponse2d<BR><BR>
<font color="YELLOW">3 </font>Question3<BR>
<input type="radio" name="3" value="a" onclick="Engine(3, this.value)"><font color="RED"> a </font>Réponse3a<BR>
<input type="radio" name="3" value="b" onclick="Engine(3, this.value)"><font color="RED"> b </font>Réponse3b<BR>
<input type="radio" name="3" value="c" onclick="Engine(3, this.value)"><font color="RED"> c </font>Réponse3c<BR>
<input type="radio" name="3" value="d" onclick="Engine(3, this.value)"><font color="RED"> d </font>Réponse3d<BR><BR>
<font color="YELLOW">4 </font>Question4<BR>
<input type="radio" name="4" value="a" onclick="Engine(4, this.value)"><font color="RED"> a </font>Réponse4a<BR>
<input type="radio" name="4" value="b" onclick="Engine(4, this.value)"><font color="RED"> b </font>Réponse4b<BR>
<input type="radio" name="4" value="c" onclick="Engine(4, this.value)"><font color="RED"> c </font>Réponse4c<BR>
<input type="radio" name="4" value="d" onclick="Engine(4, this.value)"><font color="RED"> d </font>Réponse4d<BR><BR>
<font color="YELLOW">5 </font>Question5<BR>
<input type="radio" name="5" value="a" onclick="Engine(5, this.value)"><font color="RED"> a </font>Réponse5a<BR>
<input type="radio" name="5" value="b" onclick="Engine(5, this.value)"><font color="RED"> b </font>Réponse5b<BR>
<input type="radio" name="5" value="c" onclick="Engine(5, this.value)"><font color="RED"> c </font>Réponse5c<BR>
<input type="radio" name="5" value="d" onclick="Engine(5, this.value)"><font color="RED"> d </font>Réponse5d<BR><BR>
<font color="YELLOW">6 </font>Question6<BR>
<input type="radio" name="6" value="a" onclick="Engine(6, this.value)"><font color="RED"> a </font>Réponse6a<BR>
<input type="radio" name="6" value="b" onclick="Engine(6, this.value)"><font color="RED"> b </font>Réponse6b<BR>
<input type="radio" name="6" value="c" onclick="Engine(6, this.value)"><font color="RED"> c </font>Réponse6c<BR>
<input type="radio" name="6" value="d" onclick="Engine(6, this.value)"><font color="RED"> d </font>Réponse6d<BR><BR>
<font color="YELLOW">7 </font>Question7<BR>
<input type="radio" name="7" value="a" onclick="Engine(7, this.value)"><font color="RED"> a </font>Réponse7a<BR>
<input type="radio" name="7" value="b" onclick="Engine(7, this.value)"><font color="RED"> b </font>Réponse7b<BR>
<input type="radio" name="7" value="c" onclick="Engine(7, this.value)"><font color="RED"> c </font>Réponse7c<BR>
<input type="radio" name="7" value="d" onclick="Engine(7, this.value)"><font color="RED"> d </font>Réponse7d<BR><BR>
<font color="YELLOW">8 </font>Question8<BR>
<input type="radio" name="8" value="a" onclick="Engine(8, this.value)"><font color="RED"> a </font>Réponse8a<BR>
<input type="radio" name="8" value="b" onclick="Engine(8, this.value)"><font color="RED"> b </font>Réponse8b<BR>
<input type="radio" name="8" value="c" onclick="Engine(8, this.value)"><font color="RED"> c </font>Réponse8c<BR>
<input type="radio" name="8" value="d" onclick="Engine(8, this.value)"><font color="RED"> d </font>Réponse8d<BR><BR>
<font color="YELLOW">9 </font>Question9<BR>
<input type="radio" name="9" value="a" onclick="Engine(9, this.value)"><font color="RED"> a </font>Réponse9a<BR>
<input type="radio" name="9" value="b" onclick="Engine(9, this.value)"><font color="RED"> b </font>Réponse9b<BR>
<input type="radio" name="9" value="c" onclick="Engine(9, this.value)"><font color="RED"> c </font>Réponse9c<BR>
<input type="radio" name="9" value="d" onclick="Engine(9, this.value)"><font color="RED"> d </font>Réponse9d<BR><BR>
<font color="YELLOW">10 </font>Question10<BR>
<input type="radio" name="10" value="a" onclick="Engine(10, this.value)"><font color="RED"> a </font>Réponse10a<BR>
<input type="radio" name="10" value="b" onclick="Engine(10, this.value)"><font color="RED"> b </font>Réponse10b<BR>
<input type="radio" name="10" value="c" onclick="Engine(10, this.value)"><font color="RED"> c </font>Réponse10c<BR>
<input type="radio" name="10" value="d" onclick="Engine(10, this.value)"><font color="RED"> d </font>Réponse10d<BR><BR>
<p> <input type="button" name="Resultats" value="Résultats"
onclick ="NextLevel()"></p></form>
</BODY>
</HTML>
http://usinaquiz.free.fr/autre/frqcm1.htm
ben voila quoi =) c'est bizarre non
même en suivant les conseille de ce site > http://i.gautier.free.fr/jsprof/scripts/qcm.htm
si vous avez remarque le signe XP désigne un smiley nous tirant la langue .....windows se foutrai ne notre gueule ?