|
Re: adding sound to a Html web page
Try adding this between <body> and </body> and changing "yourmusic.wav" to your file name.
<SCRIPT TYPE="text/javascript">
<!--
var filename="yourmusic.wav";
if (navigator.appName == "Microsoft Internet Explorer")
document.writeln ('<BGSOUND SRC="' + filename + '">');
else if (navigator.appName == "Netscape")
document.writeln ('<EMBED SRC="' + filename + '" AUTOSTART=TRUE WIDTH=144 HEIGHT=60><P>');
// -->
</SCRIPT>
<NOSCRIPT>
<BGSOUND SRC="yourmusic.wav">
</NOSCRIPT>
|