SEARCH
0-9 A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
Prev | Current Page 799 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"


5. Check the appropriate Attributes checkboxes to show the desired window features.
6. If you plan on using JavaScript to address or control the window, type a unique name in the
Window Name text box. This name cannot contain spaces or special characters. Dreamweaver
alerts you if the name you??™ve entered is unacceptable.
7. Click OK when you??™re finished.
Play Sound
The Play Sound action is used to add external controls to an audio file that normally uses the Netscape
LiveAudio plugin or the Windows Media Player. Supported audio file types include WAV, MID, AU, and
AIFF files. The Play Sound action??”which is generally used to add invisible background music to a page??”
inserts an tag with the following attributes:
n loop=false
n autostart=false
n mastersound
n hidden=true
n width=0
n height=0
Instead of automatically detecting which sound files have been inserted in the current Web page, Play
Sound looks for the sound file to be inserted through the action??™s dialog box (see Figure 12-10).
FIGURE 12-10
Give your Web page background music and control it with the Play Sound action.
Dreamweaver can detect if a visitor??™s browser has the Windows Media Player installed and, if
so, it issues the appropriate commands. NOTE NOTE
415
Using Behaviors 12
To use the Play Sound action, follow these steps:
1.


Pages:
787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811