Add background music website
Related Tags:
Adding Background music to the Web in general there are two ways, one is through the regular <bgsound> labels to add, and the other is through <embed> labels to add.
(A) The use of labels <bgsound>
Use Dreamweaver opened need to add background music pages, and click the "code" open code edit view, In "body> </ body> and type" < "in the pop-up box, select the code tips bgsound.
Dreamweaver automatically enter "<bgsound" by the space bar code, code boxes will be automatically bgsound labels to list properties for the use of your choice. There are five attributes bgsound labels, which balance is about a balanced set of music, a broadcast delay is the delay settings loop cycle is the number of control, src is our music files path, volume is the volume settings. Add background music in general, we do not need music around balance and delay settings, so only need a few key parameters on it. Finally the code as follows:
<bgsound Src="music.mid" loop="-1">
The loop = "-1" infinite loop that music player, if you want to set the number of players, will be changed to the corresponding numbers.
Adding background music of this method is the most fundamental way, and it is the most commonly used, a method for background music format support now most of the mainstream music formats, such as WAV, MID, MP3. If we take into account the lower-speed network browser, you can use the website MID sound as background music, because music files MID small, open this page in the process of loading and play quickly, but also MID deficiencies of the , it can only store music melody, harmony, and no good is presented. If you have a faster network speed, or that MID some monotonous music, can also add MP3 music. As long as the above-mentioned change in the code happy.mid happy.mp3 can.
Note: FrontPage add background music than Dreamweaver relatively convenient, as long as the "background" dialog box can be set up related.
(B) The use of labels <embed>
Use <embed> music label to add the method is not very common, but it's extremely powerful, if with some controls on the player can create a Web player.
It methods and the use of a Basic section, the code is only the first step, do not choose gbsound tips box, and choose to embed can be changed. Then select its corresponding attribute settings, can be seen from the diagram than gbsound embed attributes of the five attributes many more. Finally the following code: <embed src = "music.mp3" autostart = "true" loop = "true" hidden = "true"> </ embed>.
Autostart settings which used to open a page is automatically music player, and hidden settings are hidden media players. Because actually embed a Web page similar to the music player, if not hidden, the system will show you the default media plug-ins.
For these two methods, I believe that both have advantages and disadvantages between the two: The first method is to open the pages when music player, if the pages of the smallest players after the automatic suspension of the concert, if we use the second method not be in such a situation, as long as the window will not close, it would have been broadcast. Therefore, I hope that everyone in the use of the process in accordance with their own circumstances add music to choose the method.
Institute a simple method of adding music website, should be at the interface and functions of the upper and lower harder. We can use the "Web music player," create a stylish music player.
- Div ? ? ? ¨°
- DIV translucent background
- Background (Background) how initials?
- Background and experience with fonts
- CSS Tutorial 12, the Background Images CSS background images [Translation Htmldog]
- CSS background color
- Forms the background to achieve gradual
- On the transparent background iframe
- Css definition background
- DIV
- Css Manual (1) Background Background
- Based settings background voices
- Add background music website
- CSS background images background-image should be noted path!
- Set the background attribute pages
- Usage of alternative background-position
- Flash follow changes in the background
- Css graded background skills and methods
- DIV pages I would like to have a DIV then click on the ID DIV pass a background function
- Prohibition in the background page tiled
*. HTC documents brief

Today, some at the forum see above HTC brothers do not know what is. Niche slightly talk about here. From the 5.5 version, Internet Explorer (IE) Web support for the concept of behavior. These acts are called by the suffix. Htc described in the script f...
In DW8 create custom code fragment - CSS layout improve development efficiency

In DW8 create custom code fragment - CSS layout improve development efficiency Unless otherwise specified, the part of the contents of this site Articles authorization signed by the Creative Commons and non-commercial purposes, please respect for labor achievements....
Flash function aggregate (funtion)

From a variable according to certain rules and the decisions of other variables, such as the relationship between the corresponding function. Function is a value in accordance with the definition computing artificially produced another value method. In the flash has also been us...
You may not know that the 10 CSS skills (to)

Author: Dark Evolt.org author of Trenton wrote Ten CSS tricks you may not know, is still very useful, whether novice or Laoqiang CSS, and some skills is unknown. You can look at the original English, vocabulary is not complicated. In fact, this article...
Flash Component Application and Development of detailed briefings

Is a component of the film clips, these parameters can be used to modify the appearance and behaviour of components. Each component has pre-defined parameters, and they can be installed. Each component is also available in a group of their own methods, properties an...