dom.removeBehavior()
Availability
Dreamweaver 3.
Description
Removes the action at the specified position within the specified event. This function acts on the
current selection and is valid only for the active document.
Arguments
,
event
{eventBasedIndex}
•
The
argument is the event handler through which the action is attached to the element
event
(for example,
removed from the element.
•
The
eventBasedIndex
removed. For example, if two actions are associated with the specified event, 0 is first and 1 is
second. If you omit this argument, all the actions for the specified event are removed.
Returns
Nothing.
dreamweaver.getBehaviorElement()
Availability
Dreamweaver 2.
Description
Gets the DOM object that corresponds to the tag to which the behavior is being applied. This
function is applicable only in Behavior action files.
Arguments
None.
Returns
A DOM object or a
following circumstances:
•
When the current script is not executing within the context of the Behaviors panel
•
When the Behaviors panel is being used to edit a behavior in a timeline
•
When the currently executing script is invoked by
•
When the Behaviors panel is attaching an event to a link wrapper and the link wrapper does
not yet exist
•
When this function appears outside of an action file
,
onClick
onMouseOver
argument, which is optional, is the position of the action to be
value. This function returns a
null
, or
). If you omit this argument, all actions are
onLoad
null
dreamweaver.popupAction()
value under the
Behavior functions
305
Need help?
Do you have a question about the DREAMWEAVER MX 2004-DREAMWEAVER API and is the answer not in the manual?