jQuery textarea auto-resizer.
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.0a1 - (2009/08/24)
Initial release
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.0a1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 75f7b93a754fd8b6cf002cda282750195dec0665ee8139794d4f2d27b760e2e2 |
|
MD5 | 87164a82c271df2b8e9854fb04c366f0 |
|
BLAKE2b-256 | 77f1852da779297d45f0a19936a247f0cae9ea8ddb73f1b5515cad2b24aae6e2 |
Close
Hashes for collective.autoresizetextarea-1.0a1-py2.4.egg
Algorithm | Hash digest | |
---|---|---|
SHA256 | c30f1d80af1743eb3cb3abb2d6e02202134b901d7feb87443cdd4dfa4c144e05 |
|
MD5 | ac56d9ed41fe895a8c4576dbfd12a02b |
|
BLAKE2b-256 | 2d87502f6a777b5e6604fa44100607a4901be5ffdd7bb98963ff055ffc980bb8 |