motionType : Motion Typography plugin
motionType is motion typography plugin.
- Characters displayed in the order.
- Fade-animation.
Usage
$(filter).motionType([options],[callback]);
- options (Object)
-
- motionChar: Integer // [defalt=1] characters per motin.
- motionRate: Integer // [defailt=50] time per motion.(msec)
- fadeRate: Integer // [defailt=500] time par fade.(msec)
- type: 'fade'|'normal' // [defailt='fade'] display form of motion.
- callback (Function)
- A function to be executed whenever the motion completes.
Sample
var options = {
motionChar: 5,
motionRate: 200,
fadeRate: 500,
type: 'fade'
}
$('#sample').motionType(options);
评论