222c222 < $ifmaybe=""; --- > $ifmaybe=""; 229,232c229,232 < $qlabels='"' . $qone . '","Tongue Twisters","Haiku","Animal Categorization","Vocabulary Phrases","Hangman","Survey"'; < $qarrays='"questions","tongue_twisters","haiku","animal_categorization","vocabulary","hangman","survey"'; < $qdelims='"?","~","`","`","`","`","?"'; < $qcols='"yellow","lightgreen","lightblue","lightgray","pink","cyan","orange"'; --- > $qlabels='"' . $qone . '","Tongue Twisters","Haiku","Animal Categorization","Vocabulary Phrases","Survey"'; > $qarrays='"questions","tongue_twisters","haiku","animal_categorization","vocabulary","survey"'; > $qdelims='"?","~","`","`","`","?"'; > $qcols='"yellow","lightgreen","lightblue","lightgray","pink","orange"'; 339,344d338 < var woo=null; < var perr=false; < < var clue=''; < < var curplayer=1; 356d349 < var hangman=[""]; 398,433d390 < < function lookforend() { < if (document.getElementById('shangman')) { < if (document.getElementById('shangman').innerHTML == '') { < setTimeout(lookforend,2000); < } else { < scores[0]+=eval(document.getElementById('shangman').innerHTML.replace('Score:','').replace('/',',').replace(' ','').split(',')[0]); < scores[1]+=eval(document.getElementById('shangman').innerHTML.replace('Score:','').replace('/',',').replace(' ','').split(',')[1]); < document.getElementById('score').innerHTML='Score: ' + scores[0] + '/' + scores[1]; < document.getElementById('shangman').innerHTML=''; < curplayer=eval(3 - curplayer); < pickq(); < } < } < } < < function cluey(swhatshort) { < document.getElementById('ihangman').src="//www.rjmprogramming.com.au/HTMLCSS/hangman_bg.html?curplayer=" + curplayer + "&tosolve=" + encodeURIComponent(swhatshort) + "&clue=" + encodeURIComponent(clue); < } < < function maybeontop(swhat,swhatshort) { < //alert(mode + ' swhatshort=' + swhatshort); < if (mode == 5) { // hangman < document.getElementById('sq').style.display='none'; < //alert(''); < document.getElementById('ontopsq').innerHTML=''; < if (document.getElementById('ihangman')) { < document.getElementById('ihangman').src="//www.rjmprogramming.com.au/HTMLCSS/hangman_bg.html?curplayer=" + curplayer + "&tosolve=" + encodeURIComponent(swhatshort) + "&clue=" + encodeURIComponent(clue); < } else { < document.getElementById('dhangman').innerHTML='


'; < document.getElementById('dhangman').style.display='block'; < } < lookforend(); < } < return swhat; < } 684d640 < hangman[0] = maybeontop('', vocabulary[0]); 777c733 < document.getElementById('sq').innerHTML=maybeontop('' + modethree(insides(document.getElementById('sq').innerHTML).split('?')[0]) + '

',insides(document.getElementById('sq').innerHTML)); --- > document.getElementById('sq').innerHTML='' + modethree(insides(document.getElementById('sq').innerHTML).split('?')[0]) + '

'; 829,844d784 < function antiwoo() { < if (woo != null) { < woo.close(); < woo=null; < } < if (perr) { < perr=false; < document.getElementById('mya').click(); < } < } < < function prowoo() { < woo=window.open('//www.goo' + 'gle.com/search?q=' + encodeURIComponent(vocabulary[0]).replace(/\%20/g,'+'),"_blank","top=50,left=50,width=400,height=400"); < setTimeout(antiwoo,60000); < } < 853c793 < if (mode == 4 || mode == 5) { --- > if (mode == 4) { 856d795 < if (mode == 4) { 858,861d796 < } else { < document.getElementById('klr').innerHTML=document.getElementById('klr').innerHTML.replace('
',' '); < document.getElementById('tdm').innerHTML+='

'; < } 881c816 < document.getElementById('sq').innerHTML=maybeontop('' + modethree(questions[isq].split('?')[0]) + '

',questions[isq].split('?')[0]); --- > document.getElementById('sq').innerHTML='' + modethree(questions[isq].split('?')[0]) + '

'; 909c844 < (thanks to Google Speech to Text)

<- 1 Player 2 ->

One quizzer can
key in 1 (left)
or 2 (right)



Score: 0/0

--- > (thanks to Google Speech to Text)

<- 1 Player 2 ->

One quizzer can
key in 1 (left)
or 2 (right)



Score: 0/0