There is a new jQuery plugin, it’s called “Fly Off Page”. It will take selected elements and make them fly (not literally) off the page in a random or pre-defined direction. Customizable options include duration (of the animation), direction, tween (extend animation) and ‘retainSpace’ which allows you to retain, disregard or animate-out the space that the specified element once took up.
Duration: The amount of time (in milliseconds) over which the animation will run. For example:
duration: 400 // 400 milliseconds (0.4 seconds)
- Direction: The selected element will fly off the page in this direction.
- ‘top’, ‘right’, ‘btm’, ‘left’
- ‘topLeft’, ‘topRight’, ‘btmLeft’, ‘btmRight’
- Tween: You can add your own tweens to the animation. For example:
retainSpace: This can be set to true/false or an object which will be ran as an animation on the placeholder. For example: