Sound, Click, How to? |
Post Reply |
Author | |
digizar
Senior Member Joined: Dec 30 2015 Location: Germany Frankfu Status: Offline Points: 739 |
Post Options
Thanks(0)
Posted: May 10 2017 at 10:05am |
How would it be done to implement a 'click-sound' when a button ist pushed?
I have that website https://schreibmaschinenmuseum.org/ and I want to have that click with particular buttons, which sounds like a single old styled mechanical typewriter bounce. I know it is in general not recommended to bother the user with such annoying kind of noise, but the customer wants it. Any advice in the shelf? Would be great. |
|
___________________________________
Ask questions only if there is no answer yet. https://blumendigi.com |
|
Dmit OE
Admin Group Joined: May 31 2012 Status: Offline Points: 5283 |
Post Options
Thanks(1)
|
Hi.
0) Put your sound into Files/Other as "sound.mp3" 1) Add a Custom Class play-sound (in the corresponding Property) for each element that should play on click 2) Add a Code Block (Source) type Javascript with the code:
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |