diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2014-12-10 14:23:29 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2014-12-10 14:23:29 +0900 |
commit | 703261b49e658f488e8d8e69e49b00aecd129dcf (patch) | |
tree | 718db0ae704051fe495f72821a63426ad41bfe85 | |
parent | ef88f77c5faaf0611360760d9ba81dc139168f2c (diff) | |
download | schoolclock-703261b49e658f488e8d8e69e49b00aecd129dcf.tar.gz |
two new sound effects
-rw-r--r-- | index.html | 2 | ||||
-rw-r--r-- | js/main.js | 12 | ||||
-rw-r--r-- | sounds/sit_down_quickly.mp3 | bin | 0 -> 20061 bytes | |||
-rw-r--r-- | sounds/too_noisy.mp3 | bin | 0 -> 20061 bytes |
4 files changed, 14 insertions, 0 deletions
@@ -42,6 +42,8 @@ <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> + <a id="too-noisy" class="btn btn-default btn-lg active">Too noisy</a> + <a id="sit-down-quickly" class="btn btn-default btn-lg active">Sit down quickly</a> </form> </div><!--/.navbar-collapse --> </div> @@ -148,6 +148,12 @@ $.ionSound({ name: "onetwothree", }, { + name: "too_noisy", + }, + { + name: "sit_down_quickly", + }, + { name: "school_bell", } ], @@ -319,6 +325,12 @@ $(document).ready(function(){ $('#one-two-three').button(); $('#one-two-three').click(function (){$.ionSound.play("onetwothree");}); + $('#too-noisy').button(); + $('#too-noisy').click(function (){$.ionSound.play("too_noisy");}); + + $('#sit-down-quickly').button(); + $('#sit-down-quickly').click(function (){$.ionSound.play("sit_down_quickly");}); + $('#timeWastingClockGo').button(); $('#timeWastingClockGo').click(timeWastingClock.toggle); diff --git a/sounds/sit_down_quickly.mp3 b/sounds/sit_down_quickly.mp3 Binary files differnew file mode 100644 index 0000000..b55c5bc --- /dev/null +++ b/sounds/sit_down_quickly.mp3 diff --git a/sounds/too_noisy.mp3 b/sounds/too_noisy.mp3 Binary files differnew file mode 100644 index 0000000..1ec1195 --- /dev/null +++ b/sounds/too_noisy.mp3 |