The animated effect in the MARQUEE is controlled by this property. The following values are appropriate:
* alternate
* scroll
* slide
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
Prev | Home | Next |
MARQUEE object | Up | MARQUEE.bgColor |
JavaScript Programmer's Reference, Cliff Wootton Wrox Press (www.wrox.com) Join the Wrox JavaScript forum at p2p.wrox.com Please report problems to support@wrox.com © 2001 Wrox Press. All Rights Reserved. Terms and conditions. |