The float behavior makes it easy to . 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.
The float behavior (demonstration is to the right) expose startX and startY properties which signify the initial positions (these can also be set in the style property, but it degrades better this way). It also supports smooth which when set to false, disables the incremental movement, it just plops it on the correct spot. speed is the number of pixels to move per second and stick when set to true, disables the movement.
The above paragraph is wrapped in a DIV and is associated with the move behavior as follows:
Copyright © 1997-98 InsideDHTML.com, LLC.
© 1997-2000 InsideDHTML.com, LLC. All rights reserved.