🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

This jQuery plugin will truncate text to a specified number of characters without splitting a word in half.

Plugins Text Effect

Documentation

Limit Text jQuery Plugin

This jQuery plugin will truncate text to a specified number of characters without splitting a word in half.

Example one:

// Default 100 characters and an "..." ellipis $('#example-1').limitText();

Example two:

// Customized and chained $('#example-2').limitText({     length:65,     ellipsisText: '[...]'}) .css('color', '#800000');

You May Also Like