Dreamweaver - Behavior Events
|
|
Written by Website Tutorials
|
|
Thursday, 25 May 2006 |
|
Behavior Events There are several events that can trigger your Behaviors. There is a complete listing in the Dreamweaver Help section. Here are a few of the more common events:
- onBlur: This is when an element loses focus.
- onChange: When a value is changed on the page.
- onClick: When the element is clicked.
- onLoad: When the page or element finished loading.
- onMouseDown: When the user presses a mouse button.
- onMouseOut: When the mouse is moved away from the element.
- onMouseOver: When the mouse is moved over an element.
- onReset: When a form is reset.
- onSelect: When text in a text field is selected.
- onSubmit: When a form is submitted.
- onUnload: When the page is left.
To change the Event, highlight the existing event by clicking once, then bring down the menu that will give you a list of other available events. 
Next we'll take a look at how to use some of Dreamweaver's existing Behaviors: |