collective.autoresizetextarea

by Timo Stollenwerk last modified Feb 16, 2011 02:04 AM

collective.autoresizetextarea is a jQuery textarea auto-resizer for Plone. It is based on James Padolsey's jQuery autoResize plugin.

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

Self-Certification

[ ] Internationalized

[ ] Unit tests

[ ] End-user documentation

[ ] Internal documentation (documentation, interfaces, etc.)

[ ] Existed and maintained for at least 6 months

[X] Installs and uninstalls cleanly

[X] Code structure follows best practice

Current Release

No stable release available yet.

All Releases

Version Released Description Compatibility Licenses Status
1.0a1 jQuery textarea auto-resize for Plone. More about this release…
Plone 3
GPL alpha

Comments (0)