Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
src
 
 
 
 
 
 

Readme.md

AcronymJS

jQuery plugin which translate acronyms and ABBRs in the small caps.

Using

Include

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script>
<script src="jquery.acronym.min.js"></script>

Сall

$("p").acronym();

Properties

tracking

Letter-spacing. Amount of space between a group of letters in a line or block of text. Is letter-spacing CSS rule. Indicated in em or px.

Default value: 0.15em.

size

Small caps font size. Indicated in em or px and percents.

Default value: 90%.

$("p, h1").acronym({
    tracking: "0.15em",
    size: "90%"
});

Demo

See Live Demo

Build

Install Grunt, go to src folder and type

grunt

Release History

2013-02-09 v1.0.0

  • First public version.

About

jQuery plugin which translate acronyms in the small caps

Resources

Releases

No releases published
You can’t perform that action at this time.