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.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]
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
File details
Details for the file collective.autoresizetextarea-1.0b2.tar.gz
.
File metadata
- Download URL: collective.autoresizetextarea-1.0b2.tar.gz
- Upload date:
- Size: 9.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 34d36a24aeb6b40d086ec130d0afd8a85e2b12066cad058694e1648da1005832 |
|
MD5 | 612d7583194bc1a1df288aad461c540e |
|
BLAKE2b-256 | 166588cc20afd821ab08dd739340ee882ba536e7671e25330b0da80e7a73e532 |
File details
Details for the file collective.autoresizetextarea-1.0b2-py2.4.egg
.
File metadata
- Download URL: collective.autoresizetextarea-1.0b2-py2.4.egg
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e39af4f58e2a4c673f80297ec1ae682609db2faeda801627b5dc1048781a0058 |
|
MD5 | 0989d6160ad9114e0212affbf75fe152 |
|
BLAKE2b-256 | bf2f2b8444fe9ebeff39918ca8e9d1bfdf8db61abda7c887ee6e2fabe5c9e31f |