Si votre email correspond à un compte, vous recevrez un lien de réinitialisation.
http://www.jmrw.com/Chess/Tableau_echecs/index.htm#diaporamaSur cette page le bouton stop ne fonctionne pas toujours.<button id="but_stop" onClick="stop()"> stop </button>function stop() {clearTimeout(play); play = false; }Il devrait stopper la fonction suivante:function diaporamarandom() {c++;document.getElementById('quantite').value = c;c=Math.floor(Math.random()*listechrono.length)document.getElementById('vue').style.backgroundImage > 'url(images/'+liste[c]+'.jpg)';play = setTimeout('diaporamarandom()',tempo); }Je ne comprends pas pourquoi.Mercijmrw
http://www.jmrw.com/Chess/Tableau_echecs/index.htm#diaporama Sur cette page le bouton stop ne fonctionne pas toujours. <button id="but_stop" onClick="stop()"> stop </button> function stop() {clearTimeout(play); play = false; } Il devrait stopper la fonction suivante: function diaporamarandom() { c++; document.getElementById('quantite').value = c; c=Math.floor(Math.random()*listechrono.length) document.getElementById('vue').style.backgroundImage > 'url(images/'+liste[c]+'.jpg)'; play = setTimeout('diaporamarandom()',tempo); } Je ne comprends pas pourquoi. Merci jmrw
Le 3/10/2012 07:24, jmrw a écrit :http://www.jmrw.com/Chess/Tableau_echecs/index.htm#diaporamaSur cette page le bouton stop ne fonctionne pas toujours.<button id="but_stop" onClick="stop()"> stop </button>function stop() {clearTimeout(play); play = false; }Il devrait stopper la fonction suivante:function diaporamarandom() {c++;document.getElementById('quantite').value = c;c=Math.floor(Math.random()*listechrono.length)document.getElementById('vue').style.backgroundImage >> 'url(images/'+liste[c]+'.jpg)';play = setTimeout('diaporamarandom()',tempo); }Je ne comprends pas pourquoi.MercijmrwTu dois déclarer play comme variable global, et mettre null si messouvenirs sont justes
http://www.jmrw.com/Chess/Tableau_echecs/index.htm#diaporamaSur cette page le bouton stop ne fonctionne pas toujours.<button id="but_stop" onClick="stop()"> stop </button>function stop() {clearTimeout(play); play = false; }Il devrait stopper la fonction suivante:function diaporamarandom() {c++;document.getElementById('quantite').value = c;c=Math.floor(Math.random()*listechrono.length)document.getElementById('vue').style.backgroundImage >> 'url(images/'+liste[c]+'.jpg)';play = setTimeout('diaporamarandom()',tempo); }Je ne comprends pas pourquoi.Mercijmrw
Le 3/10/2012 07:24, jmrw a écrit : http://www.jmrw.com/Chess/Tableau_echecs/index.htm#diaporama Sur cette page le bouton stop ne fonctionne pas toujours. <button id="but_stop" onClick="stop()"> stop </button> function stop() {clearTimeout(play); play = false; } Il devrait stopper la fonction suivante: function diaporamarandom() { c++; document.getElementById('quantite').value = c; c=Math.floor(Math.random()*listechrono.length) document.getElementById('vue').style.backgroundImage >> 'url(images/'+liste[c]+'.jpg)'; play = setTimeout('diaporamarandom()',tempo); } Je ne comprends pas pourquoi. Merci jmrw Tu dois déclarer play comme variable global, et mettre null si mes souvenirs sont justes
http://www.jmrw.com/Chess/Tableau_echecs/index.htm#diaporama Sur cette page le bouton stop ne fonctionne pas toujours. <button id="but_stop" onClick="stop()"> stop </button> function stop() {clearTimeout(play); play = false; } Il devrait stopper la fonction suivante: function diaporamarandom() { c++; document.getElementById('quantite').value = c; c=Math.floor(Math.random()*listechrono.length) document.getElementById('vue').style.backgroundImage >> 'url(images/'+liste[c]+'.jpg)'; play = setTimeout('diaporamarandom()',tempo); } Je ne comprends pas pourquoi. Merci jmrw