To philip
#20
Boost Czar
iTrader: (62)
Join Date: May 2005
Location: Chantilly, VA
Posts: 79,501
Total Cats: 4,080
This should work:
Code:
<html> <head> <script type="text/javascript"> <!-- var mychoonz="****.mp3"; // File name var choonz_length=10000; // Milliseconds function start_sound(){ document.getElementById('soundz').src=mychoonz; window.setTimeout('stop_sound();', choonz_length); } function stop_sound(){ document.getElementById('soundz').src="#"; } //--> </script> </head> <body onLoad="start_sound();"> <bgsound id="soundz" src="#" autostart="true"> </body> </html>