Icontem

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    
Last Updated Ratings Unique User Downloads Download Rankings
2010-10-31 (5 years ago) RSS 2.0 feedNot enough user ratingsTotal: 148 All time: 309 This week: 24Up
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

Screenshots  
  • beforeApplyCutter.png
  • afterApplyCutter.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:148
This week:0
All time:309
This week:24Up
User Comments (1)