From 9694f172f649ce3e2b47397460a2624a68882e22 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 20 Mar 2015 05:41:35 +0000 Subject: new sounds --- assets/js/main.js | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'assets') 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");}); -- cgit v1.2.3