sl--orientation Attribute | slOrientation Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

Sets or retrieves whether the slider bar for the slider behavior will render horizontally or vertically.

Syntax

CSS { sl--orientation : sOrientation }
Scripting [ sOrientation = ] slider.style.slOrientation

Possible Values

sOrientation String that specifies or receives one of the following values.
horizontal
Default. The slider is rendered horizontally on the document.
vertical
The slider is rendered vertically on the document.

The property is read/write. The property has a default value of horizontal. The Cascading Style Sheets (CSS) attribute is not inherited.

Remarks

The sl--orientation attribute is read-only at run time.

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

Applies To

slider