-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathREADME
More file actions
17 lines (12 loc) · 665 Bytes
/
README
File metadata and controls
17 lines (12 loc) · 665 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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
});