Add to Head
-------------------------------------------------------------------------------
Step 2: Edit the aySound array to preload the sound files.
aySound[0]="YourSoundFile.wav";
aySound[1]="AnotherSoundFile.wav";
aySound[2]="EvenAnotherOne.wav";
.
.
as many sound files as one wants.
--------------------------------------------------------------------------------------
Step 3: Finally, play the sound files with an event handler.
With a link:
- onMouseOver/onMouseOut sound:
Move mouse over to play sound
- onClick sound:
Click here to play sound
-With a button:
- |=|=|