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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

collective.js.jqsmartTruncation-1.0.tar.gz (11.5 kB view hashes)

Uploaded Source

Supported by

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