animation.js 618 Bytes
/**
 * @author: Gustavo Rodrigues
 * @email: gugateider@gmail.com 
 * Edit the array 'animationArr' below accordingly to the creative 
 * animation you wish to achieve
 * Each item of the array corresponds to each frame. 
 * If you have an object within this item called 'child', 
 * javascript will animate that child, otherwise will animate the 
 * entire "section"
 */
var tweenDuration = .07;
var animationArr  = [[
					// Frame 1 
					{
						type: 'from',
						child: '#imageBG',
						duration: tweenDuration * 50,
						object: { left: '-140px' },
						complete: "startGenericAnimation"
					}
					]];