Click to return to the DHTML, HTML     
moveTo Method     mv--boundary-bottom Attri...     Behaviors Library    
Web Workshop  |  DHTML, HTML & CSS

mv--Boundary Attribute | mvBoundary Property


Sets or retrieves the boundaries that the object can move within based on a composite value of the mv--boundary-left, mv--boundary-top, mv--boundary-right, and mv--boundary-bottom attributes for the moveable behavior.

Syntax

XML<Prefix:CustomTag ID = sID STYLE="behavior:url('moveable.htc'); mv--Boundary: 'iBoundaryLeft iBoundaryTop iBoundaryRight iBoundaryBottom';" .../>
HTML{ mv--Boundary: 'iBoundaryLeft iBoundaryTop iBoundaryRight iBoundaryBottom'; }
Scripting[ 'iBoundaryLeft iBoundaryTop iBoundaryRight iBoundaryBottom' = ] oCalendar.style.mvBoundary

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.
iBoundaryLeftInteger specifying the leftmost boundary in which the element can move. Specifying null means no boundary is used.
iBoundaryTopInteger specifying the topmost boundary in which the element can move. Specifying null means no boundary is used.
iBoundaryRightInteger specifying the rightmost boundary in which the element can move. Specifying null means no boundary is used.
iBoundaryBottomInteger specifying the bottommost boundary in which the element can move. Specifying null means no boundary is used.

The property is read/write with a default value of "null null null null"; the cascading style sheets (CSS) attribute is inherited.

Remarks

The mv--Boundary attribute 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.