Skip to content

gleero/acronymJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published