Accès aux réponses d'un QCM dans le code JS

Résolu/Fermé
lemage57 - Modifié le 11 juin 2020 à 11:56
KX Messages postés 16733 Date d'inscription samedi 31 mai 2008 Statut Modérateur Dernière intervention 31 janvier 2024 - 27 oct. 2013 à 15:26
Bonjour,
J'ai un QCM 3 à 4 choix de réponses à terminer, puis je trouver les réponses dans le code source. Je vous remercie par avance de vos actions, merci beaucoup je suis un jeune débutant, alors voici la bête :
Bien cordialement, merci les gars.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN"><html><head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-16">
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"><meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"><meta http-equiv="imagetoolbar" content="no"><script>var chemin_img= '../../MosMtr/ressources/style/media/';var chemin_style= '../../MosMtr/ressources/style/';var racine_stage= '../../';</script><link rel="stylesheet" type="text/css" href="../../MosMtr/ressources/style/css/general.css"><link rel="stylesheet" type="text/css" href="../../MosMtr/ressources/style/css/styles.css"><script type="text/javascript" src="../../MosMtr/scripts/actionsGen.js"></script><script type="text/javascript" src="../../MosMtr/scripts/contenu/ClasseCommentaire.js"></script><script type="text/javascript" src="../../MosMtr/scripts/ICglobal.js"></script><script type="text/javascript" src="../../MosMtr/scripts/contenu/ICcontenu.js"></script><script type="text/javascript">var positionPerso="";</script><script type="text/javascript" src="../../MosMtr/scripts/contenu/ICexercices.js"></script><script type="text/javascript" src="../../MosMtr/ressources/style/scripts/fonctions.js"></script><link rel="stylesheet" href="../../MosMtr/ressources/style/css/exercice.css"><script type="text/javascript" src="../../MosMtr/scripts/contenu/ClasseExerciceQC.js"></script><script type="text/javascript">var afficheBordure=false;function entrerDonnees(){ exo = new ExerciceQC("QCU");exo.init();exo.scoreTotal=10;var oItem=new ItemReponse('rep290');oItem.init("12","","","");exo.tabItems[exo.tabItems.length]=oItem;var oItem=new ItemReponse('rep337');oItem.init("21","","","");exo.tabItems[exo.tabItems.length]=oItem;var oItem=new ItemReponse('rep338');oItem.init("31","","","");exo.tabItems[exo.tabItems.length]=oItem;exo.ordreAleatoire=true;exo.maxSel='';EXO_ajouterCommentaire('divConsigne',"","","","","","","","","","","","","","","","","");exo.initEchelleScore();dureePage="";delaiZoneCtn="";}</script><title>Le réseau 3G/3G+ en France</title><script language="javascript" id="pontFS">if ((navigator.appName.indexOf("Microsoft") != -1) && (navigator.userAgent.indexOf("Windows") != -1)) {document.write('<SCRIPT LANGUAGE=VBScript> \n');document.write('on error resume next \n');document.write('Sub clipSTY492_FSCommand(ByVal command, ByVal args)\n');document.write('call clipSTY492_DoFSCommand(command, args)\n');document.write('end sub\n');document.write('</SCRIPT\> \n');}
function clipSTY492_DoFSCommand(command,args){try{eval(command)}catch(e){};}
if ((navigator.appName.indexOf("Microsoft") != -1) && (navigator.userAgent.indexOf("Windows") != -1)) {document.write('<SCRIPT LANGUAGE=VBScript> \n');document.write('on error resume next \n');document.write('Sub clipSTY673_FSCommand(ByVal command, ByVal args)\n');document.write('call clipSTY673_DoFSCommand(command, args)\n');document.write('end sub\n');document.write('</SCRIPT\> \n');}
function clipSTY673_DoFSCommand(command,args){try{eval(command)}catch(e){};}
</script></head><body style="margin:0px" ondragstart="return false" onmouseover="window.status='';return true" onkeypress="GEN_presseTouche(event)" onkeydown="GEN_bloqueRetour(event)" onresize="GEN_placerZonesLien()" oncontextmenu="" class="STY_fond" onLoad="GEN_init('exercice')"><div id="logo" style=" left: 13px; width: 192px; position: absolute; top: 596px; height: 45px"><img border="0" src="../../MosMtr/ressources/style/media/logo1.png" id="styImg4829"></div><div id="zoneInvisible" style="display:none;visibility:hidden"><div id="divConsigne" onclick="SPE_clicDansBulle(event,'divConsigne')">Cochez la bonne réponse, puis validez. </div><div id="divCmtSucces" onclick="SPE_clicDansBulle(event,'divCmtSucces')"></div></div><div id="STY_zoneTitre" class="STY_zoneTitre" style=";display:none"><div id="STY_titrePage" class="STY_titrePage" style="  ">Le réseau 3G/3G+ en France</div></div><div id="STY_zoneCommentaire" class="STY_zoneCommentaire" style=""><div id="STY_titreCommentaire" class="STY_titreCommentaire" style="  "></div><div id="STY_contenuCommentaire" class="STY_contenuCommentaire" style="  "></div></div><div id="STY_boutonSuivant" class="STY_boutonSuivant" style="  "><img border="0" title="LEX_6" name="imgBoutonSuivant" src="../../MosMtr/ressources/style/media/gen/boutonSuivant.png"></div><div id="STY_boutonPrecedent" class="STY_boutonPrecedent" style="  "><img border="0" title="LEX_7" name="imgBoutonPrecedent" src="../../MosMtr/ressources/style/media/gen/boutonPrecedent.png"></div><div id="STY_boutonInit" class="STY_boutonInit" style="  "><img border="0" title="LEX_11" name="imgBoutonInit" src="../../MosMtr/ressources/style/media/gen/boutonInit.png"></div><div id="STY_boutonValider" class="STY_boutonValider" style="  "><img border="0" title="LEX_13" name="imgBoutonValider" src="../../MosMtr/ressources/style/media/gen/boutonValider.png"></div><div id="STY_zoneVoirSolutions" class="STY_zoneVoirSolutions" style=" display: none; ;display:none"><a name="FC_solutionsExo" href="javascript:EXO_solutions()"><img border="0" src="../../MosMtr/ressources/style/media/affichersloution.png" id="styImg6330"></a></div><div id="STY_nomEtape" class="STY_nomEtape" style="  "><script>ajDocW(donneNomEtapeCourante())</script></div><div id="STY_zoneExercice" class="STY_zoneExercice" style="visibility:hidden;"><div id="STY_question" class="STY_question" style="  "><p>Quel est en France le pourcentage de population couverte<span style="mso-spacerun: yes"> </span>par le réseau 3G/3G+ et Edge de SFR ?</p></div><div id="STY_texteQC" class="STY_texteQC" style="  "><table cellspacing="1" cellpadding="0" class="STY_listeQC"><tr id="trReprep001"><td align="right" width="20" valign="middle"><img class="STY_imgBoutonQC" onmouseover="if(exo)exo.changerBouton('rep001',true);" onmouseout="exo.changerBouton('rep001',false)" onclick="exo.action('rep001')" id="boutonReprep001" src="../../MosMtr/ressources/style/media/gen/boutonQCU.png"></td><td valign="top" class="STY_bordureQC" id="tdReprep001"><div class="STY_reponseQC" id="lienrep001" onmouseover="if(exo)exo.changerBouton('rep001',true)" onmouseout="if(exo)exo.changerBouton('rep001',false)" onclick="exo.action('rep001')">50%</div></td></tr><tr id="trReprep002"><td align="right" width="20" valign="middle"><img class="STY_imgBoutonQC" onmouseover="if(exo)exo.changerBouton('rep002',true);" onmouseout="exo.changerBouton('rep002',false)" onclick="exo.action('rep002')" id="boutonReprep002" src="../../MosMtr/ressources/style/media/gen/boutonQCU.png"></td><td valign="top" class="STY_bordureQC" id="tdReprep002"><div class="STY_reponseQC" id="lienrep002" onmouseover="if(exo)exo.changerBouton('rep002',true)" onmouseout="if(exo)exo.changerBouton('rep002',false)" onclick="exo.action('rep002')">85%</div></td></tr><tr id="trReprep938"><td align="right" width="20" valign="middle"><img class="STY_imgBoutonQC" onmouseover="if(exo)exo.changerBouton('rep938',true);" onmouseout="exo.changerBouton('rep938',false)" onclick="exo.action('rep938')" id="boutonReprep938" src="../../MosMtr/ressources/style/media/gen/boutonQCU.png"></td><td valign="top" class="STY_bordureQC" id="tdReprep938"><div class="STY_reponseQC" id="lienrep938" onmouseover="if(exo)exo.changerBouton('rep938',true)" onmouseout="if(exo)exo.changerBouton('rep938',false)" onclick="exo.action('rep938')">96 %</div></td></tr></table></div></div></body></html>
A voir également:

4 réponses

je te remercie pour ton retour.
Je bosse chez SFR et j'ai des module de e-learning à réaliser
Je voulais savoir si il était possible de trouver la réponse aux question (27 modules env 200 questions) grâce au code source.
Peux tu me renseigner ?Es possible ? Y a t il un indice me permettant de trouver la bonne réponse avec Class div ext je n'y connait pas grand chose.
Je te remercie pour tes actions.
Bien cordialement.
26
Rejoignez-nous