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 /js | |
parent | ef88f77c5faaf0611360760d9ba81dc139168f2c (diff) | |
download | schoolclock-703261b49e658f488e8d8e69e49b00aecd129dcf.tar.gz |
two new sound effects
Diffstat (limited to 'js')
-rw-r--r-- | js/main.js | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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); |