background preloader

Library

Facebook Twitter

Prototype

Philly. Miro. JavaScript Component for AJAX. jQuery Flexigrid. HYPE. All The Code - Source Code Search Engine. Moo.fx - size does matter. Symfony - open-source PHP web framework. JAVASCRIPT MOTION TWEEN. The Tween classCONSTRUCTORvar t = new Tween(object,property,easing,start,end,duration,suffixe); object:type:ObjectThe object you want to modify. It can be any object, a visual object that you want to animate ( document.body.style ) or an anymous object ( new Object() ).property:type:StringThe property that is updated on the target object, it can be empty ('')easing:type:FunctionThe easing that will be applied to motion. ( I have listed the functions below and created a sample to allow you to try them )start:type:NumberStart valueend:type:NumberEnd valueduration:type:NumberAnimation duration in secondssuffixe:type:StringA string to append to the updated property ('%','pt','em' ...).

METHODS EVENTS AND LISTENERSonMotionStarted( eventObject )onMotionChanged( eventObject )onMotionFinished( eventObject )onMotionStopped( eventObject )onMotionLooped( eventObject )onMotionResumed( eventObject ) the eventObject passed contains 2 properties: 2 ways to use events : 2Щ using the addListener method: Behaviour : Using CSS selectors to apply Javascript behaviours. Bindows™ Home.