Skip to content

shanbady/lycos-animation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lycos-animation

A small and simple javascript animation library I created when I worked at lycos

  • See demo.html for examples

Usage

/*

	var animation = new lycos.animation('<animation name>',{
		'property':'<css property to animation>',
		'animateTo':'n<px,ems,pt,%>',
		'duration':<duration in ms>,
		'easing':'<easing type>',
		'callback':function(){
			consolel.log('animation complete!');
		}
	});

	animation.start();
*/


var cb = function(){
	alert('callback called after animation finished');
	return false;
};

var letteranimation = new lycos.animation('letterspacing',{'property':'letter-spacing','animateTo':'7px','duration':1000,'easing':'Elastic','callback':cb});

letteranimation.start();

About

A small and simple javascript animation library I created when I worked at lycos

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors