Click to return to the DHTML, HTML     
moveable Behavior     MOVEABLE Attribute | move...     Behaviors Library    
Web Workshop  |  DHTML, HTML & CSS

DIRECTION Attribute | direction Property


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

Syntax

XML<Prefix:CustomTag ID = sID STYLE="behavior:url('moveable.htc')" DIRECTION = "horizontal" | "vertical" | "all" .../>
Scripting[ iMove = ] oMoveable.direction

Possible Values

Prefix Prefix used to associate CustomTag with a namespace. This prefix is set using the XMLNS attribute of the HTML tag.
CustomTag User-defined tag.
sID String that uniquely identifies the object.
horizontal String specifying the element can be moved horizontally only.
vertical String specifying the element can be moved vertically only.
all String specifying the element can be moved both horizontally and vertically.

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

Remarks

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

Applies To

[ Object Name ]
PlatformVersion
Win16:
Win32:
Mac:
Unix:
WinCE:
moveable


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.