Smarttruncation : jQuery Truncates html text Plugin

Smarttruncation : jQuery Truncates html text Plugin

jQuery.smarttruncation truncates the text within the assigned element to fit and updates the string length while resizing the window.

The used technique is very responsive, since it calculates the width for each character in a pre-define set ahead of time. The generated sizes dictionary is cached and re-used if the plugin is called on an element with identical font properties.

Leave a Reply