Abstract

Textarea Resizer allows the user to expand and shrink the height of HTML textareas. It is written by Chris Barr from Eject Media – http://ejectmedia.net

It is now updated to use with MooTools 1.2.

New features

  • Mootools 1.2 compatible
  • AutoSize: expand textareas which already have content

Don’t forget to check out the demo-page.

Usage

Include the script and initialize like any class:

   window.addEvent('domready', function() {
	new textareaSizer();
});

I included that lines in textareaSizer.js, so if you include the script it works out of the box.

Downloads

Download Textarea Resizer for MooTools 1.2 here: resizeTextarea.js

You can get MooTools here: http://mootools.net/download

The original version of Textarea Resizer (including examples) is found here: http://ejectmedia.net/downloads.php?id=17