You may want to change the MARQUEE content or do some wizzy animation effect when the bounce occurs.
Now that we can do pretty much the same things with dynamic HTML and style-driven positioning, this could become deprecated.
Its still quite useful though, because it knows how big the marquee content is and it triggers the bounces automatically. That's possible with CSS scripting but its not completely trivial because you need to measure the extent rectangle of an object, which could involve some very messy font metric calculations.
See also: | Event, Event handler, Event model, Event names, Event object, Event.returnValue, Handler, onStart, onStop, Semantic event |
Prev | Home | Next |
onBlur | Up | onChange |
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. |