collective.autoresizetextarea 1.0b2
jQuery textarea auto-resizer for Plone.
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.0b2 2010-07-13
- Metadata added to GS [timo]
- HISTORY.txt moved to CHANGES.txt [timo]
1.0b1 2010-02-05
- z3c.autoinclude added. [timo]
1.0a1 2009-09-24
- Initial release. [timo]
| File | Type | Py Version | Uploaded on | Size | # downloads |
|---|---|---|---|---|---|
| collective.autoresizetextarea-1.0b2-py2.4.egg (md5) | Python Egg | 2.4 | 2010-07-13 | 6KB | 533 |
| collective.autoresizetextarea-1.0b2.tar.gz (md5) | Source | 2010-07-13 | 9KB | 608 | |
- Author: Timo Stollenwerk
- Home Page: http://pypi.python.org/pypi/collective.autoresizetextarea
- Keywords: jQuery textarea auto-resize
- License: GPL
- Categories
- Package Index Owner: timo
- DOAP record: collective.autoresizetextarea-1.0b2.xml
