|
||
| Inside Technique : Steve's Behaviors : float Behavior 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. This is the FLOAT.htc behavior. It keeps a target element at the same place relative to the current screen. Page 1:Steve's Behaviors © 1997-2000 InsideDHTML.com, LLC. All rights reserved. |