JS Sound: Play sounds when events happen on page elements

Recommend this page to a friend!
  Info   View files Example   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2017-04-10 (12 days ago) RSS 2.0 feedNot enough user ratingsTotal: 39 This week: 39All time: 488 This week: 1Up
Version License JavaScript version Categories
jssound 1.0GNU General Publi...5Audio, Events
Description Author

This object can play sounds when events happen on page elements.

It can listen to events on given page elements and play given sounds when those events happen.

The object can match elements to listen to the given events by class or id selectors.

It can play sounds of multiple alternative formats depending on what each browser supports.

  Performance   Level  
Name: Dave Norminton <contact>
Classes: 2 packages by
Country: United Kingdom United Kingdom
Age: ???
All time rank: 1647 in United Kingdom United Kingdom
Week rank: 1 Up


<h1>JsSound</h1> <p> JsSound makes it very simple to attach sound events to elements. JsSound can be used on either class or id selectors, can take either a file name as a string or to accomodate different browsers can accept an array of different files. </p> <p> JsSound will detect the capabilities of the browser and as long as the correct format is supplied will use that format. <p>

  Files folder image Files  
File Role Description
Accessible without login Plain text file index.html Example Example
Plain text file js-sound.js Class Class source
Accessible without login Plain text file README.md Doc. Documentation
Accessible without login Plain text file style.css Data Auxiliary data

 Version Control Unique User Downloads Download Rankings  
This week:39
All time:488
This week:1Up