MARQUEE.behaviour (Property)

A attribute that controls the motion of the text in the MARQUEE object.

Availability:

JScript - 3.0
Internet Explorer - 4.0
Property/method value type:String primitive
JavaScript syntax:IEmyMARQUEE.behavior

The animated effect in the MARQUEE is controlled by this property. The following values are appropriate:

The alternate behavior marches left and then on bouncing into a boundary, marches right until it bounces again.

The scroll and slide behaviors use the direction attribute to control the direction of movement.

When set to scroll, the MARQUEE starts empty, the text scrolls in, traverses the MARQUEE and scrolls out again. A complete cycle begins and ends with an empty MARQUEE.

When set to slide, the MARQUEE again starts empty, the text scrolls in until it hits a boundary. Then it is simply zapped out and does not scroll away. Again, a complete cycle begins and ends with an empty MARQUEE