Skip to content

Small jQuery plugin that appropriately truncates a block of mulit-line text.

License

Notifications You must be signed in to change notification settings

sendlo/VerticalTrunc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

#VerticalTrunc

A small jQuery plugin that appropriately truncates a block of multi-line text, adding elipses when necessary. It will re-adjust the truncation whenever the page resizes.

##Usage

  1. Add VerticalTrunc.js to your page.

  2. Call the plugin:

     $("mybox").verticaltrunc();
    

##Demo

A demo is available in the demo folder.

About

Small jQuery plugin that appropriately truncates a block of mulit-line text.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published