Tuesday, September 13, 2011

jQuery Auto Truncator

This class implements multiline html truncation, expand-collapse links, and wordwrap / hyphenation through JavaScript using the jQuery library. It follows a binary tree split algorithm along DOM textnodes & html nodes. On page load the Truncator will automatically wrap & truncate containers with the truncate class.

0 comments:

Post a Comment