"Three punches to the left, three punches to the right, neck twisting, butt twisting..." I've warmed up, are you ready? This section will be a warm-up before starting the tutorial. In the preface, we talked about what behavior is and the basic components of behavior. What will be discussed below is the basic composition of the behavior panel in DW3.
First, we have to bring up the behavior panel, click Window->Behaviors in the DW3 editing window with the mouse (or press F8 in the editing window), and the Behaviors floating panel will appear. It looks like: Figure 1
It is such a big floating panel, and it contains infinite skills. Let’s take a look first. It is a button to add actions. Click it with the mouse and there will be many actions to choose from. Among the options, the black options are the actions supported by your current object. The light-colored options are actions that are not supported by your current object. Next to the minus sign function is to delete a behavior. You select a behavior in the editing window and click the minus sign to delete the selected behavior.
, the browser options drop-down menu, strictly speaking, it cannot be called a drop-down menu, because it has no drop-down options at all. This should be a bug in DW3. How to select a browser without a drop-down menu? (Don’t think this question is silly, but this is the question I answer the most from netizens.) Click the small triangle on the right side of Events for, and then use the up and down keys of the keyboard to select the browser you need. Generally, IE 5.0 is selected. The higher the version of the browser. The higher it is, the more events it supports and thus the more creativity it will have.
, their function is to sort behaviors, but in fact this function is not of much use. This feature is only useful when multiple actions are triggered by the same event. For example: you want someone to pop up a message box and open a small window when they enter your homepage. Due to network speed issues, there is a time difference between the two actions. At this time, you can use this function to sort the response actions. This example will be discussed in the future about its implementation method, so there is no need to waste any more words here.
Let's take a look at the behavior display area. All the behaviors used by your current object will appear in this display area. The left side of the display area displays trigger events (Events), and the right side displays actions. Look at Figure 1. There is a small triangle on the left side of the selected behavior. It is a drop-down menu for selecting trigger events. Are there too many events? Don't be confused, your clouds will clear up after reading this tutorial.
The next section will describe Popup Message (pop-up message prompt box).