All of the Behaviors in Dreamweaver involve two elements—events and actions. Every defined event will trigger some action. An event can be many different things such as a mouse rollover, a click, or even printing a page. Examples of actions image swaps, opening a new browser page, or effects like causes text to disappear and reappear.
Experiment with Dreamweaver CS4 Behaviors by creating a new HTML page in Dreamweaver and saving it as “Behavior_Demo.html.” Add a simple table by clicking on “Insert” and selecting “Table” from the drop down menu. As a shortcut, do this by pressing “Ctrl+Alt+T.” Within the Table properties box that pops up, change the “Rows” setting to 2 and the columns to 3. Change the table width to 100 percent. Leave everything else as it is and click “OK.”