· changing properties
Use the Change property action to change the value of a property of an object, such as the background color of a layer or the action of a form. The properties that you can change are determined by the browser.
To use the change properties action, do the following:
Select an object and open the Behaviors panel and choose Change Properties from the Actions pop-up menu.
Select the type of object whose properties you want to change from the object type pop-up menu.
The Named objects pop-up menu lists all named objects of the selected type immediately.
Select an object from the Named Object pop-up menu.
Select a property from the Properties pop-up menu, or enter the name of the property in the text box.
For example: Inserts a picture in the webpage, and sets the picture the name is Image1, the final request: When the viewer clicks the picture with the mouse, the picture becomes another picture (you must prepare well beforehand!). ）。 The following figure:
( large picture please enlarge and view )
Click OK to modify the properties of the diagram above. Then change the action to onclick in the behavior panel.
Save the page, F12 Preview.
The corresponding code added in the Code view, we can be familiar with: