diff options
-rw-r--r-- | index.html | 1 | ||||
-rw-r--r-- | js/main.js | 7 | ||||
-rw-r--r-- | sounds/school_bell.mp3 | bin | 0 -> 54927 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="bell" class="btn btn-default btn-lg active"><u>B</u>ell</a> <a id="one-two-three" class="btn btn-default btn-lg active"><u>O</u>ne, two, three</a> </form> </div><!--/.navbar-collapse --> @@ -20,6 +20,9 @@ $.ionSound({ }, { name: "onetwothree", + }, + { + name: "school_bell", } ], // volume: 0.5, @@ -74,6 +77,7 @@ $(document).bind('keydown', 'space', timeWastingClockToggle); $(document).bind('keydown', 'k', function (){$.ionSound.play("klaxon");}); $(document).bind('keydown', 'o', function (){$.ionSound.play("onetwothree");}); +$(document).bind('keydown', 'b', function (){$.ionSound.play("school_bell");}); function activityClockGo($seconds) { @@ -178,6 +182,9 @@ $(document).ready(function(){ $('#klaxon').button(); $('#klaxon').click(function (){$.ionSound.play("klaxon");}); + $('#bell').button(); + $('#bell').click(function (){$.ionSound.play("school_bell");}); + $('#one-two-three').button(); $('#one-two-three').click(function (){$.ionSound.play("onetwothree");}); diff --git a/sounds/school_bell.mp3 b/sounds/school_bell.mp3 Binary files differnew file mode 100644 index 0000000..1b011dd --- /dev/null +++ b/sounds/school_bell.mp3 |