Skip to content

eldub10/randomanim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#RandomAnim

This is part of a collection of JQuery plugins that animate text in various random ways.

See a demo and find out more information about this work-in-progress:

http://eldub10.github.io/randomanim

##Usage

Include jquery.randomanim.js after JQuery:

<script src='jquery.min.js'></script>
<script src='jquery.randomanim.js'></script>

Create an HTML element that contains text. A div element works best:

<div class="animation">Animated Text!</div>

Call randomAnim on the element:

$(function () {
	$(".animation").randomAnim();
})

##Options

$(".animation").randomAnim({

	// duration the animation will last
	duration: 10000,

	// update interval for each 'frame' of animation
	interval: 250,

	// function that will be called when animation is complete
	complete: function() { }
});

About

JQuery plugin for random animation of text

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published