Using a Background Sound and JavaScript
It is possible to do much the without the use of a hidden player if the browser supports the BGSOUND tag (in practice only Internet Explorer). Basically background sounds play as soon as the source sound is available; so the trick is to specify the source only in response to a JavaScript function. Here is the BGSOUND tag and the function:
Here are examples of a link, an image,
and a button calling the function.
Love Letters
The Power Of Love
If
Twilight Time
|
|
|
|