Skip to main content

This Package provides smart truncation.

Project description

collective.js.jqsmartTruncation

Truncate text into the width of his container with the JQuery plugin smart Truncation

Usage

  • Add collective.js.jqsmartTruncation to your buildout configuration:

[instance]
eggs +=
    collective.js.jqsmartTruncation
  • Install the generic setup profile of the package

  • use smartTruncation() in your own package to truncate the text in the element:

jq('span.title a').smartTruncation();

Maintainer

This package is copyright by 4teamwork company.

Changelog

1.0 (2012-05-07)

  • Updated Readme. [mathias.leimgruber]

1.0a2 (2011-02-18)

  • Initial release

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page