Click to return to the DHTML, HTML     
SNAPABLE Attribute | snap...     Behaviors Library    
Web Workshop  |  DHTML, HTML & CSS

snapToGrid Method


Snaps the element to the grid as defined by the mv--grid attribute for the moveable behavior.

Syntax

oMoveable.snapToGrid()

Return Value

No return value.

Remarks

To use the snapToGrid method, the SNAPABLE attribute must be set to 1.

The snapToGrid method 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.