MumboJumbo
In this example, the applet is hidden once again, and Javascript calls
are playing and stopping the sound file. You can also specify the
sound file to play from Javascript. Look at the source of this page
and you will see what I mean - the Javascript is playing the sound
file depending on which value in the drop down box is selected.
Why would you do this? Two likely reasons:
- You don't want your users to have to load a slow Java UI. HTML
renders much faster.
- You have your own GUI and you don't want to change that.