hrisula
06-20-2002, 10:09 PM
Hi everybody,
I have to embed a musical background to a web site. I have found a script, and they gave me the music file. Is there a simple way to have this music play for all the web pages continuously?
Thanks to all of you
Hrisula
Here is the script
<script>
var musicsrc="cosmic.mp3"
if (navigator.appName=="Microsoft Internet Explorer")
document.write('<bgsound src='+'"'+musicsrc+'"'+' loop="infinite">')
else
document.write('<embed src=\"'+musicsrc+'\" hidden="true" border="0" width="20" height="20" autostart="true" loop="true">')
</script>
I have to embed a musical background to a web site. I have found a script, and they gave me the music file. Is there a simple way to have this music play for all the web pages continuously?
Thanks to all of you
Hrisula
Here is the script
<script>
var musicsrc="cosmic.mp3"
if (navigator.appName=="Microsoft Internet Explorer")
document.write('<bgsound src='+'"'+musicsrc+'"'+' loop="infinite">')
else
document.write('<embed src=\"'+musicsrc+'\" hidden="true" border="0" width="20" height="20" autostart="true" loop="true">')
</script>