Click to return to the DHTML, HTML     
sl--orientation Attribute...     sl--tick-color Attribute ...     Behaviors Library    
Web Workshop  |  DHTML, HTML & CSS

sl--snap Attribute | slSnap Property


Specifies whether the slider is automatically positioned over the nearest tick mark when the mouse button is released.

Syntax

XML<Prefix:CustomTag ID = sID STYLE="behavior:url('slider.htc'); sl--snap: 1 | 0;" .../>
HTML{ sl--snap: 1 | 0 }
Scripting[ 1 | 0 = ] oSlider.style.slSnap

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.
1Integer specifying that the slider snaps to the nearest tick mark.
0Integer specifying that the slider can remain between tick marks.

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

Remarks

The sl--snap attribute is available only to objects participating in the slider behavior.

Applies To

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


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.