3c3 < Canvas HTML Element Surd Board Game Tutorial ... RJM Programming ... April 2014 ... thanks to http://stackoverflow.com/questions/9880279/how-do-i-add-a-simple-onclick-event-handler-to-a-canvas-element --- > Canvas HTML Element Surd Board Game (with image copy) Tutorial ... RJM Programming ... April 2014 ... thanks to http://stackoverflow.com/questions/9880279/how-do-i-add-a-simple-onclick-event-handler-to-a-canvas-element 27a28,29 > var fromhereon = "0"; > 355a358,373 > > > function to_image_file() { > var ourcanvas = document.getElementById("canvaselement"); > document.getElementById("ourimage").src = ourcanvas.toDataURL(); > if (document.getElementById("fromhereon").value == "1") { > document.getElementById("ourimage").style.display = 'block'; > document.getElementById("email").style.display = 'block'; > document.getElementById("emailee").style.display = 'block'; > document.getElementById("ourtable").border = 1; > Canvas2Image.saveAsPNG(ourcanvas); > } else { > document.getElementById("ourimage").style.display = 'none'; > } > document.getElementById("fromhereon").value = fromhereon; > } 359c377 <

Click for your maths question about surds ... Take fewest goes to reach score of 20

Score 0 achieved via 0 goes and your current answer is   

--- >

Click for your maths question about surds ... Take fewest goes to reach score of 20

Score 0 achieved via 0 goes and your current answer is

385a404,405 > > 386a407,408 >
> 431a454 > document.getElementById("mydrawb").style.display = 'block'; 435a459,461 > //if (document.getElementById("fromhereon").value == "1") { > to_image_file(); > //} 443c469 < window.location = './surd_chalkboard.html'; --- > window.location = './surd_withimagecopy_chalkboard.html'; 450d475 <