How can I make it clear to Netbug 6.1 that it should NOT download a
background sound (type WAVe), but play it in the background like MSIE
5.x/6.0 and Opera 5.x properly does.

First I detect the browser version using Javascript:

<script LANGUAGE="JavaScript">

<!--  Begin
var MSIE=navigator.userAgent.indexOf("MSIE");
var NETS=navigator.userAgent.indexOf("Netscape");
var OPER=navigator.userAgent.indexOf("Opera");
if((MSIE>-1) || (OPER>-1)) {
document.write("<BGSOUND SRC=Sounds/bg_snd.wav LOOP=INFINITE>");
} else {
document.write("<EMBED SRC=Sounds/bg_snd.wav AUTOSTART=TRUE ");
document.write("HIDDEN=true VOLUME=100 LOOP=TRUE>");
}
// End -->
</script>

Hoping for an explanation why Netbug 6.1 won't just play sounds as a
background sound. Why does it attempt to download it?

Kind regards,

Michel H.




Reply via email to