Posted by Martin Webb on June 29, 1998 at 03:42:14:
In Reply to: Using .wav files posted by Mike on June 27, 1998 at 12:35:22:
: I want to have a couple of push buttons on my web page where
: visitors can push them and hear a short extract of music.
: If I save the sound clips as .wav files
: how can I incorporate these files into my web page
: Any help gratefully appreciated
The answer can be adapted by using the onClick event handler of a form button field:
This only works in Netscape - I've yet to work out the solution for Microsoft Internet Explorer.
Although the anser looks easy - there is a lot more to it than just document.firstSound.play (false)