Skip to content
A current TLC of the Sweet Justice package.
JavaScript HTML
Branch: master
Clone or download
Pull request Compare This branch is 5 commits ahead of aristus:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
README
sweet-justice.js
sweet-justice.min.js

README

# Sweet Justice
## beautiful justified text

Include this file at the bottom of your pages
and it will hyphenate and justify your text.
The script pays attention to elements with
any of these three CSS classes:

sweet-justice:  Hyphenated and justified
sweet-hypens:   Hyphenation only
justice-denied: No hypens or justification.
                  This is useful for child nodes.

Hyphenation is accomplished by inserting soft
hyphen characters (0x00AD) into long words.

Requires either jQuery or YUI3.

Originally from carlos@bueno.org, 23 April 2010.

BSD license: Share and enjoy.
You can’t perform that action at this time.