BigNoseBird.Com- home Small Logo
The 508 Compliant Guide to 
       Big Nose Bird
BACK

Playing music automatically when a page is displayed.

Please wait for the music to load!


Here is the standard little JAVA script that figures out whether you are using Netscape or Internet Explorer. IE uses the <BGSOUND> while Netscape uses the <EMBED> tag. Here are things to make sure of when installing this:
  • Be careful about your choice of selection. Music means different things to different people. What you consider a nice happy tune, may be the song somebody heard while their spouse asked for a divorce or something. Also keep in mind that it can scare people a bit!

  • Make sure you keep the document.writeln all in one piece. It is a long line, but do not split the line.

  • Test with Netscape. If it does not work, make sure your server is configured for MIME audio/x-midi. In otherwords, tell your system administrator that you want to play music!

  • Get yourself a MIDI file that you like. You might try visiting Jonathan Gurstelle's MIDI page for starters.


source

<SCRIPT LANGUAGE="JavaScript">
<!--
if(navigator.userAgent.indexOf("MSIE") != -1)
document.writeln ('');
else
document.writeln ('<EMBED SRC="full_loop.mid" AUTOSTART="true" HIDDEN="true" VOLUME="80%">');
//-->
</SCRIPT>
<BGSOUND SRC="full_loop.mid">

*** Make sure you keep the document.writeln all in one piece. It is a long line, but do not split the line.



Find or Give Help on the BBS
 
Home Top E-Mail
If it looks great, it's by Christine
Some Fine Print
© 1997-2003 BigNoseBird.Com®, Inc. All rights reserved. All other trademarks are the sole property of their respective owners. The products that we recommend are only ones that we use. We have no relationship with any of the authors or their companies. We cannot assume responsibility for their ultimate performance or lack of same. We also cannot assume responsibility for either any programs provided here, or for any advice that is given since we have no control over what happens after our code or words leave this site. Always use prudent judgment in implementing any program- and always make a backup first! For further information, please read our Privacy Statement. We can be contacted at webmaster@bignosebird.com.


<reallybig.com>
Web Builder Network Portal
Advertise
on the
Reallybig.com
Network
BigNoseBird Newsletter
Subscribe
Un-Subscribe


Sign up today to receive our low volume newsletter. Tips, tricks, news, and whatever else crosses our minds.
Back Issues
Privacy Statement