The default event that is chosen is based on two criteria: the browser type and the selected tag. The different browsers in use have widely different capabilities, notably when it comes to understanding the various event handlers and associated tags. For every specification or browser combination in the Show Events For submenu of the Add (+) drop-down list, Dreamweaver has a corresponding file in the Configuration\Behaviors\Events folder. Each tag listed in each file, such as IE 4.0.htm, has at least one event associated with it. The entries look like this:
The default event for each tag is marked with an asterisk; in the preceding example, onBlur is the default event. After you??™ve selected an action and completed its parameter dialog box, the default event appears in the Events column of the Behaviors panel alongside the action in the Actions column. If you find yourself changing a particular tag??™s default event over and over again to some other event, you might want to modify the appropriate Event file to pick your alternative as the default. To do this, open the relevant browser file found in the Dreamweaver 9\Configuration\Behaviors\Events folder, switch to Code view, and move the asterisk to a different event for that particular tag.