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 777 | Next

Joseph W. Lowery

"Dreamweaver CS3 Bible"

A
down arrow between the event and action, when clicked, displays other available events for the current
browser model. Double-click the action to open its parameter dialog box, where you can modify the action??™s
attributes.
FIGURE 12-1
You can handle everything about a behavior through the Behaviors panel.
Event column
Parameter dialog box for swap image behavior
Add(+)
Remove(-) Up
Down
Actions column
401
Using Behaviors 12
As usual in Dreamweaver, you have your choice of methods for opening the Behaviors panel:
n Choose Window ??? Behaviors.
n Select the Behaviors tab from the Tag Inspector panel, if visible.
n Use the keyboard shortcut Shift+F4 (an on/off toggle).
The Behaviors panel can be closed by toggling it off with Shift+F4 or hidden along with all the
other panels by pressing F4.
After you have attached a behavior to a tag and closed the associated action??™s parameter dialog box,
Dreamweaver writes the necessary HTML and JavaScript code into your document. Because it contains
functions that must be callable from anywhere in the document, the bulk of the JavaScript code is placed in
the section of the page; the code that links selected tags to these functions is written in the
section. A few actions, including Play Sound, place HTML code at the bottom of the .


Pages:
765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789