page avertissement et contexte OK

This commit is contained in:
mpelissi 2023-03-22 10:05:15 +01:00
parent 828fa8f9f3
commit d4c88bd610
2 changed files with 3 additions and 2 deletions

View File

@ -337,6 +337,7 @@ function animate() {
////////////////////////////////////////////////////////////////////////////////
if (page_contexte){
//console.log("boucle contexte")
document.removeEventListener("keydown", action_clavier_avertissement)
//init touche clavier
if (premier_tour_page_contexte){
init_clavier_contexte()

View File

@ -147,8 +147,8 @@ titre = "BEFORE TO START --> User study : Best view selection"
color_blanc = "rgb(255,255,255)"
color_rouge = "rgb(239, 71, 111)"
avertissements={
"texte0":{"t": "Before we begin, make sure your browser window is big enough, and if you are using multiple displays, place your window on the display you will work on.", "y": window.innerHeight*0.32, "c": color_blanc},
"texte1":{"t": "If necessary, you can refresh this page to resize everything but doing so will lose all of your progress, so make sure everything feels right before proceding.", "y":window.innerHeight*0.52, "c": color_blanc},
"texte0":{"t": "Before we begin, make sure your BROWSER WINDOW IS BIG ENOUGH, and if you are using multiple displays, place your window on the display you will work on.", "y": window.innerHeight*0.32, "c": color_blanc},
"texte1":{"t": "If necessary, you can REFRESH this page to resize everything but doing so will lose all of your progress, so make sure everything feels right before proceding.", "y":window.innerHeight*0.52, "c": color_blanc},
"texte2":{"t":"All your data will be sent at the very end, so losing your progress will not mess up our data, but you will have do start from the begining.", "y":window.innerHeight*0.72, "c": color_blanc},
}