Here is the current code:
Code:
<!-- START HOME MUSIC CODE
if (navigator.appName == "Microsoft Internet Explorer") {
6document.write('<bgsound src="intro.mp3" LOOP="false">');
}
else {
document.write('<embed type="application/x-mplayer2" pluginspage="http://www.microsoft.com/Windows/MediaPlayer/" Name="MediaPlayer" src="intro.mid" AutoStart="true" ShowStatusBar="0" ShowControls="0" ShowDisplay="0" volume="-1" HEIGHT="1" WIDTH="1" loop="false"><br>');
}
// End -->
I see that it's checking for IE but how do I also make this work in Firefox?
Thanks!
|