jQuery plugin for pixel-precise string abbreviation
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
demo
LICENSE
README.textile
jquery.abbreviator.js

README.textile

Abbreviator

jQuery plugin for pixel-precise string abbreviation.

Demo

http://bentlegen.github.com/abbreviator/demo

Usage

Autofit mydiv’s innerHTML content horizontally:

$('#mydiv').abbrev();

License

MIT License. See LICENSE for more information.

Credits

  • Ben Vinegar
  • Chris Hoffman