Cutter: Truncate HTML code to limit its length

Recommend this page to a friend!
  Info   View files Example   Screenshots Screenshots   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 153 All time: 327 This week: 4Up
Version License JavaScript version Categories
cutter 1.0GNU General Publi...1.0HTML
Description Author

This object can be used to truncate HTML code to limit its length.

It can process a given HTML document element and truncate it at the end if it exceeds a given number of words while preserving the original markup.

The truncated version may appear within the given HTML document element or some other target document element.

Recommendations

What is the best JavaScript read more class?
Difficulties in using a readmore.js

Picture of Tomas Corral
Name: Tomas Corral <contact>
Classes: 2 packages by
Country: Spain Spain
Age: ???
All time rank: 763 in Spain Spain
Week rank: 6 Up2 in Spain Spain Up

Screenshots  
  • afterApplyCutter.png
  • beforeApplyCutter.png
  Files folder image Files  
File Role Description
Plain text file cutter.js Class Cutter source code
Plain text file index.html Example Test html

 Version Control Unique User Downloads Download Rankings  
 0%
Total:153
This week:0
All time:327
This week:4Up
User Comments (1)