jQuery textarea auto-resizer for Plone.
Project description
Introduction
collective.autoresizetextarea is a textarea auto-resizer for Plone. It is based on James Padolsey’s jQuery autoResize plugin. Check his website for a demo.
Buildout Installation
Add the following code to your buildout.cfg:
[buildout] ... eggs = ... collective.autoresizetextarea ... ... [instance] ... zcml = ... collective.autoresizetextarea ...
Usage
To add the auto-resize feature to a textarea you can either add an “autoresize” CSS class to the textarea:
<textarea class="autoresize" />
or change the jQuery selector in the second line of the javascripts/autoresize.js file:
... jq('textarea.mycssclass').autoResize({ ... ...
Consult the jQuery documentation for more about jQuery selectors.
Changelog
1.0b1 (2010-02-05)
z3c.autoinclude added. [timo]
1.0a1 (2009-09-24)
Initial release. [timo]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for collective.autoresizetextarea-1.0b1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a49de44ef0370939e7af3f5ed77f2fe48f9dd1ff2429c0a7d88e89489ad5f51 |
|
MD5 | 895c58ed21d94b150f841949b955eda1 |
|
BLAKE2b-256 | 3acc9bc1f647395499efdf177aee5d6d964de5e068af867641937b8bd758e1f7 |
Close
Hashes for collective.autoresizetextarea-1.0b1-py2.6.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1f18f8bde7774f0a8eccd05ad3952990741d7bdb5cfdce5dc5f2a4202b2ac48 |
|
MD5 | 437f7b91ed17f64c7fa37ddbdc35947d |
|
BLAKE2b-256 | f228274236d240cf9293e4b9d5714fdfaec2344078446352a4db96dfa59928f1 |