Inside Technique : Steve's Behaviors : fade Behavior
The fade behavior makes it easy to use the blend transition filter to fade elements into view. In Internet Explorer 5.0,
the paragraph below fades into view. In all other browser, the paragraph is properly
displayed and the behavior is ignored.
This is the FADE.htc behavior. It uses the property duration to specify how long the fade into view should take, the offStart to specify how long after the page to load before starting the fade, or the fade can be manually started by calling the fadeo() method on the element. When complete, the onFadeDone event fires on the element.
The above paragraph is wrapped in a DIV and is associated with the move behavior as follows:
border: 1 black solid"
Copyright © 1997-98 InsideDHTML.com, LLC.
All rights reserved.
© 1997-2000 InsideDHTML.com, LLC. All rights reserved.