jcperryman
07-14-2006, 07:42 PM
I have added sound to my web pages before but, now I would like to add it with the volume set at a low level. I would like the music in the background.
I would also like to give more control over the music: on, off, up, down, ...
In the past I have used this:
<script>
if (navigator.userAgent.indexOf('MSIE') != -1 || navigator.userAgent.indexOf('Opera') != -1)
document.writeln('<bgsound src="sounds/tender.mid">');
else
document.writeln('<embed src="sounds/tender.mid" autostart=true width=0 height=0>');
</script>
Thank you in advance.
Joseph
I would also like to give more control over the music: on, off, up, down, ...
In the past I have used this:
<script>
if (navigator.userAgent.indexOf('MSIE') != -1 || navigator.userAgent.indexOf('Opera') != -1)
document.writeln('<bgsound src="sounds/tender.mid">');
else
document.writeln('<embed src="sounds/tender.mid" autostart=true width=0 height=0>');
</script>
Thank you in advance.
Joseph