Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 

README.md

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');

About

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

Topics

Resources

License

Releases

No releases published
You can’t perform that action at this time.