Forum Moderators: open
It will NOT validate, however, in anything other than "quirks" mode, if that....
The feature is here:
(while normal tab is selected)
Format->Background->General (Tab)-> Location (Under Background Sound)FP 2000 inserts an IE only tag, <bgsound>, a better approach, IMO would be to use an <embed> element with CSS using the display: none property.
Now that flashing marquees and blinking text are pretty much gone, audio that starts by itself is my pet peeve on the web.
In 99% of the cases, this is something, like blinking text, that people do because they can, not because it makes a better site. Especially disturbing for people who surf where others can hear (or are trying to sleep/work/talk whatever).
<head>
<script language=javascript>
function start_audio()
{
document.write("<embed src=audio_file.wav">);
}
</script></head>
<body onLoad="start_audio()">
</body></html>.
If I remember correctly, it should not play the file till the body tag has loaded, but if the tag loads before the rest of the file is loaded, then it plays before the page is finished. Give it a try, it may work. Make sure you change the <embed> tag.
[edited by: tedster at 1:03 am (utc) on April 25, 2004]
[edit reason] turn off smile graphics [/edit]