DIRECTION Attribute | direction Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Specifies the direction in which an element can be moved for the movable behavior.

Syntax

XML <ELEMENT DIRECTION = sDirection... >
Scripting [ sDirection = ] movable.direction

Possible Values

sDirection String that specifies or receives one of the following values.
all
Default. String that specifies the element can be moved both horizontally and vertically.
horizontal
String that specifies the element can be moved horizontally only.
vertical
String that specifies the element can be moved vertically only.

The property is read/write. The property has a default value of all.

Remarks

The direction property is available only to objects participating in the movable behavior.

Applies To

movable