Skip to content

LCweb-ita/LC-text-shortener

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

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

LC Text Shortener

Micro jQuery plugin creating excerpts on the fly, basing on a fixed value or container's height.


Given an element containing text, this useful tool will automatically shorten it, fitting a fixed height value or simply adapting to element's wrapper.

Control which text to place at the end of shortened text, and also choose which HTML tags to maintain during shortening. Supported tags are: br, p, a, strong, em. Other ones will be obviously removed, keeping only texts.


Suitable also for long texts, acts in real time on browser resizing.

Minimum requirement: jQuery v1.5


For documentation and usage notes check: http://www.lcweb.it/lc-text-shortener-jquery-plugin


Copyright © Luca Montanari - LCweb

About

Micro jQuery plugin creating excerpts on the fly, basing on a fixed value or container's height

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published