Background music for webpages
When browsing the web, you will definitely have a web page with background music. Steps in the wonderful music to the infinity space of the Internet, you can really be beautiful! But the background music can only be a track, and it is not universal. If the background music of the web page allows visitors to choose any selection in a predetermined multi-track, becomes a background music, which believes that there will be more visits to stop. In fact, we can use the JavaScript script to write a program that replaces background music, realize any options for background music in web pages, let your web page will win. Let's first explain the design ideas and implementation methods of the program, followed by the complete sample program, I believe everyone will become a web activity background music.
I. Designing Ideas and Implementation 1. First establish
The playing statement is changed to Document.name.Run (). 4. Add OnLoad = "Check_ok" in the
tag of the HTML document, initialize the browser authentication variable MSIE4 (freely set variable name) to meet the program's requirements for the browser to prevent the browser An abnormal appearance is asked. Second, the annotation is detailed, the complete sample program list