Finite state machines in JavaScript – Design a widget January 10, 2007

Designers and implementers can benefit from the discipline and structure that finite state machines offer. In this article, you, learn how to use a finite state machine to design complex behavior for a simple Web widget — an animated tooltip that fades into and out of view.