behavior property

[This documentation is preliminary and is subject to change.]

Sets or retrieves how the text scrolls in the marquee.

Syntax

HRESULT value = object.put_behavior(BSTR v);HRESULT value = object.get_behavior(BSTR* p);

Property values

Type: BSTR

scroll

Default. Marquee scrolls in the direction specified by the IHTMLMarqueeElement::direction property. The text scrolls off the end and starts over.

alternate

Marquee scroll direction reverses when its content reaches the edge of the container.

slide

Marquee scrolls in the direction specified by the IHTMLMarqueeElement::direction property. The text scrolls to the end and stops.

See also

How to Fly Text in DHTML

 

 

Build date: 6/12/2012