A simple, lightweight jQuery plugin for animating text, giving it a typewriter effect.
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="/path/to/jquery.typewriter.js"></script>
Toss in your html
<div class="show_stuff_here" data-text="This is the text to be animated"></div>
Toss in the js
$("#show_stuff_here").typewriter({
typing_speed: 400
});
If you would like to add a more realistic typing speed effect, i.e., not all characters are "typed" at the same speed - you can use the randomize mode. Just set random to true, and set the randomMax value to the slowest speed you want to allow typed (in milliseconds). Each character will receive a random number in milliseconds from 100 to the max you set.
$("#show_stuff_here").typewriter({
random: true,
randomMax: 800
});
typing_speed: 400 (number) // steady speed of letters typed (not needed if random)
random: true or false (boolean) // randomize the speed of letters typed
randomMax: 800 (number) // maximum number in milliseconds for random setting (random from 0 to this number)
delay: 400 (number) //a setTimout delay before typing begins