Advertisement
Guest User

Untitled

a guest
Mar 10th, 2017
76
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None
  1. im.addEventListener("click", function(idx) {
  2. return function() {
  3. if (!gallerie.getAttribute("data-locked")) {
  4. gallerie.setAttribute("data-locked", "true");
  5. playSound();
  6. if (vergleichccr == idx) {
  7.  
  8. control.value = "Das war richtig. Klicke jetzt den Button WEITER";
  9. } else {
  10. control.value = "Das war falsch. Beginne wieder mit Start";
  11. }
  12. }
  13. };
  14.  
  15.  
  16. }(i));
Advertisement
RAW Paste Data Copied
Advertisement