Click to return to the DHTML, HTML     
mv--boundary-top Attribut...     mv--grid-cols Attribute |...     Behaviors Library    
Web Workshop  |  DHTML, HTML & CSS

mv--grid Attribute | mvGrid Property


Sets or retrieves the composite values (mv--grid-rows, mv--grid-cols) of the horizontal and vertical grid the element snaps to when the SNAPABLE attribute is enabled for the moveable behavior.

Syntax

XML<Prefix:CustomTag ID = sID STYLE="behavior:url('moveable.htc'); mv--grid: 'mv--grid-rows mv--grid-cols'" .../>
Scripting[ 'mv--grid-rows mv--grid-cols' = ] oMoveable.style.mvGrid

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.
mv--grid-rows Integer specifying the horizontal increment of pixels an element snaps to when the SNAPABLE attribute is enabled.
mv--grid-cols Integer specifying the vertical increment of pixels an element snaps to when the SNAPABLE attribute is enabled.

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

Remarks

The mv--grid attribute is available only to objects participating in the moveable behavior, and only when the SNAPABLE attribute is set to 1.

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.