Skip to content

A small jQuery library for making a Call of Duty like animation for a string

Notifications You must be signed in to change notification settings

3shirtlessmen/CODLetters

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

CODLetters.js is a small jQuery library for creating a Call of Duty like animation for a string of words.

Simply include the jQuery library and CODLetters.js in your file, like so:

<script src="jquery.js" type="text/javascript"></script>
<script src="CODLetters.js" type="text/javascript"></script>

Then target a DOM element on your page and feed it a string to animate, like so:

$('#your-selected-div').CODLetters("All your base are belong to us!");

The library has parameters that can be customized:

$('#your-selected-div').CODLetters("Capture the objective!", {
    "size" : "34px", //size in pixels of the animated text
    "family" : "Arial", //font family to use 
    "delay" : "500", //delay in miliseconds between animations
    "color" : "#B0B0B0" //color of text      
});

About

A small jQuery library for making a Call of Duty like animation for a string

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%