diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-20 05:41:35 +0000 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-03-20 05:41:35 +0000 |
commit | 9694f172f649ce3e2b47397460a2624a68882e22 (patch) | |
tree | 6a575aef26bd49bc1e0a23fb6000491e06bca5c5 /assets | |
parent | e50c2f005ede9ba244a418536d7673e8d3aefa0f (diff) | |
download | sariulclocks-9694f172f649ce3e2b47397460a2624a68882e22.tar.gz |
new sounds
Diffstat (limited to 'assets')
-rw-r--r-- | assets/js/main.js | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/assets/js/main.js b/assets/js/main.js index f4d5af2..d10911b 100644 --- a/assets/js/main.js +++ b/assets/js/main.js @@ -22,6 +22,12 @@ $.ionSound({ }, { name: "school_bell", + }, + { + name: "why_so_noisy", + }, + { + name: "new_cheonjae", } ], // volume: 0.5, @@ -276,7 +282,7 @@ var activityClock = MyFlipClock($('#activity-countdown'), { countdown:true, callbacks:{ stop:function () { - $.ionSound.play("cheonjae"); + $.ionSound.play("new_cheonjae"); } } }); @@ -354,6 +360,9 @@ $(document).bind('keydown', 'b', function (){$.ionSound.play("school_bell");}); $(document).ready(function(){ + $('#why-so-noisy').button(); + $('#why-so-noisy').click(function (){$.ionSound.play("why_so_noisy");}); + $('#klaxon').button(); $('#klaxon').click(function (){$.ionSound.play("klaxon");}); |