diff options
-rw-r--r-- | index.html | 1 | ||||
-rw-r--r-- | js/main.js | 7 | ||||
-rw-r--r-- | sounds/onetwothree.mp3 | bin | 0 -> 43466 bytes |
3 files changed, 8 insertions, 0 deletions
@@ -40,6 +40,7 @@ <a id="date-toggle" class="btn btn-default btn-lg active">Toggle date style</a> <a id="klaxon" class="btn btn-default btn-lg active"><u>K</u>laxon</a> + <a id="one-two-three" class="btn btn-default btn-lg active"><u>O</u>ne, two, three</a> </form> </div><!--/.navbar-collapse --> </div> @@ -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); diff --git a/sounds/onetwothree.mp3 b/sounds/onetwothree.mp3 Binary files differnew file mode 100644 index 0000000..1bcb8c5 --- /dev/null +++ b/sounds/onetwothree.mp3 |