chadselph / jquery-typewriter

Lets you add a "typewriter" effect on any element, printing out a single character at a time.
45 stars 13 forks source link

jquerytypewriter is a jQuery plugin to do the "typewriter" effect.

It's based on the movie WarGames when the computer, Joshua, was playing tic tac toe. (https://www.youtube.com/watch?v=NHWjlCaIrQo#t=3m19s)

You can see it in action here:

https://chadselph.github.io/jquery-typewriter/

Checkout demo.html for example usage.

In general, it's like this: $('.someselector').typewrite({ 'delay': 100, //time in ms between each letter 'extra_char': '', //"cursor" character to append after each display 'trim': true, // Trim the string to type (Default: false, does not trim) 'callback': null // if exists, called after all effects have finished });