From b87df7d90c2e4e151da6e03327e779f9bab3b3e1 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Thu, 27 Nov 2014 15:05:54 +0900 Subject: "one, two, three" sound effect --- js/main.js | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'js') diff --git a/js/main.js b/js/main.js index a1afda2..275e700 100644 --- a/js/main.js +++ b/js/main.js @@ -16,6 +16,9 @@ $.ionSound({ }, { name: "cheonjae", + }, + { + name: "onetwothree", } ], // volume: 0.5, @@ -69,6 +72,7 @@ $(document).bind('keydown', 'j', timeWastingClockToggle); $(document).bind('keydown', 'space', timeWastingClockToggle); $(document).bind('keydown', 'k', function (){$.ionSound.play("klaxon");}); +$(document).bind('keydown', 'o', function (){$.ionSound.play("onetwothree");}); function activityClockGo($seconds) { @@ -164,6 +168,9 @@ $(document).ready(function(){ $('#klaxon').button(); $('#klaxon').click(function (){$.ionSound.play("klaxon");}); + $('#one-two-three').button(); + $('#one-two-three').click(function (){$.ionSound.play("onetwothree");}); + $('#timeWastingClockGo').button(); $('#timeWastingClockGo').click(timeWastingClockToggle); -- cgit v1.2.3