Inside Technique : Steve's Behaviors : type Behavior
The type behavior makes it easy to type the contents of an element character by character. In Internet Explorer 5.0,
the paragraph below is typed onto the screen. In all other browser, the paragraph is properly
displayed and the behavior is ignored.
This is the TYPE.htc behavior. Type supports two properties: letterDelay, the number of milliseconds between letters, and offStart, the number of milliseconds to wait after the page is loaded to start typing. The typing can be manually started with the typeo() method. The onTypeDone event fires on the element when the typing is complete.
The above paragraph is wrapped in a DIV and is associated with the type behavior as follows:
border: 1 black solid"
Copyright © 1997-98 InsideDHTML.com, LLC.
All rights reserved.
© 1997-2000 InsideDHTML.com, LLC. All rights reserved.