Background Sound


Example of Script
Can you hear the background sound?
Grab the Code
Explanation of Code
This script uses an if() statement to determine if the browser is Netscape, navigator.appName == "Netscape". If this is true, then the document.write() method is used to add the HTML tag for the background sound for Netscape. If the browser is not Netscape, then the tag for MSIE is used.
Copyright © 2001 John H. Bolgiano, Jr. - All rights reserved
Modified with permission for educational use by Roberta Bush