Actions
You can attach actions to elements, for example, you can attach an 'onClick' action to a div, so when the user clicks on it, an action is performed, for example, the action could move an element on the page, or open a new web browser window with new content in it..
Attaching an action to a div
To attach an action to an element, simply click on the element, right-click (or Control-Click) and choose 'Attach Action...' from the contextual menu.
A dialog will be presented that allows you to choose from a number actions, or you type your own, for this example, lets show an alert dialog.
Once the action has been attached, a symbol will appear to show the element has an attached action (make sure the 'Action' button in the details bar is depressed.)
In this example, the event has been set to 'OnClick', so that when the element is clicked on, the action is run. To test this, switch to the 'Preview' mode and click on the element.