Change Property

Use the Change Property action to change the value of one of an object's properties (for example, the background color of a layer or the action of a form). The properties you can affect are determined by the browser; many more properties are exposed to JavaScript in Microsoft Internet Explorer (IE) 4.0 than in IE 3.0 or Netscape Navigator 3.0 or 4.0.

Note: We recommend that you use this action only if you are very familiar with HTML and JavaScript.

To use the Change Property action:

1 Follow steps 1 through 3 of the procedure in Attaching a behavior.
2 Select Change Property from the Actions pop-up menu.
3 Select the type of object whose property you would like to change from the Type of Object pop-up menu.
Choosing an object type populates the Named Object pop-up menu with all the named objects of the type you select.
4 Select a specific object from the Named Objects pop-up menu.
5 Select a property from the Property pop-up menu, or enter the name of the property in the text field.
To see the properties that can be changed in each browser, choose different browsers from the browser pop-up menu. If you are entering a property by hand, be sure to use the exact JavaScript name of the property (and remember that JavaScript properties are case-sensitive).
6 Enter the new value for the property in the New Value field and click OK.
7 Check that the default event is the one you want.
If it isn't, select another event from the pop-up menu. If the events you want are not listed, change the target browser in the Events For pop-up menu.