How to install collective.js.jqsmartTruncation
- Download and install ActivePython
- Open Command Prompt
- Type
pypm install collective.js.jqsmarttruncation
Lastest release
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();
Links
- jQuery.smarttruncation: http://polarblau.github.com/smarttruncation/
- Main github project repository: https://github.com/collective/collective.js.jqsmartTruncation
- Issue tracker: https://github.com/collective/collective.js.jqsmartTruncation/issues
- Package on pypi: http://pypi.python.org/pypi/collective.js.jqsmartTruncation
- Plug-In Site: http://plugins.jquery.com/project/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