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 details)

Uploaded Source

File details

Details for the file collective.js.jqsmartTruncation-1.0.tar.gz.

File metadata

File hashes

Hashes for collective.js.jqsmartTruncation-1.0.tar.gz
Algorithm Hash digest
SHA256 00a7f4fac70a7e6f1f35e63febcbf2a17483bf8db9406257bfd89225416e381a
MD5 85d47f347d0d71c47c6a171bd146477b
BLAKE2b-256 446f34aab9b4d49d4c365104d2e5d32242c84a3d4c2ddb0662a2519358cda06d

See more details on using hashes here.

Provenance

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