Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/examples/Math_Money_Identification/js/lesson.js
diff options
context:
space:
mode:
authorBryan Berry <bryan@olenepal.org>2009-12-20 14:46:55 (GMT)
committer Bryan Berry <bryan@olenepal.org>2009-12-20 14:46:55 (GMT)
commit02be549a1746c9993334a61e1ad09f64f5392a37 (patch)
tree298855eb1beaa425d0331f1ef53b116655292f97 /examples/Math_Money_Identification/js/lesson.js
parent663d2602a87131f978654bc82af55332438dd2c4 (diff)
added screenshots, got rid of temporary files, this is v0.3.0
Diffstat (limited to 'examples/Math_Money_Identification/js/lesson.js')
-rwxr-xr-xexamples/Math_Money_Identification/js/lesson.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/Math_Money_Identification/js/lesson.js b/examples/Math_Money_Identification/js/lesson.js
index dc97fa1..9012805 100755
--- a/examples/Math_Money_Identification/js/lesson.js
+++ b/examples/Math_Money_Identification/js/lesson.js
@@ -38,11 +38,13 @@ $(document).ready(function(){
function checkDisplay(){ //Displays the correct and incorrect info
if(wrong_selected == 1){
$('.checkedOption').show();
+ k.audio.incorrect.play();
document.getElementById("check").src = "assets/image/incorrect.png";
$('.checkedOption').fadeOut(1000);
}
else{
$('.checkedOption').hide();
+ k.audio.correct.play();
document.getElementById("check").src = "assets/image/correct.png";
$('.checkedOption').fadeOut(2000);
//needs timer for holding on for abt a sec