Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Move and Size TextAreas
Places small graphical overlays on text areas, use the mouse to move, resize, or toggle between maximized/reset. Mouse over the dots for tooltips.
USAGE:
- A small tab will appear, fixed in the lower-right of the browser window, on pages containing textareas.
- Click the tab, and a red and blue dot will appear to the lower-right of all textareas on the page.
- Mouse over the dots for usage tooltips.
UPDATE:
SEP 1, 2006 - Finally got around to fixing this greasemonkey script to
work with new versions of Firefox... I guess it's been broken for quite
a while, but no one complained and I forgot about the script for a while... ;-)
About 15 minutes to fix, the old (I guess deprecated) way of adding event
listeners is no longer supported by Firefox, had to replace all occurances with
the proper .addEventListener() wrappers for the various "lambda" functions.
UPDATE:
SEP 1, 2006 - This script still has some issues with the drag buttons on
some pages. I guess it's related to the event handling. I'm a seasoned
programmer, but don't work on much JavaScript, so debugging that may take
me a while. If a seasoned JS programmer happens upon this little do-dad,
give it a try. Hopefully you'll find it's a nice little framework
for handling this type of extended functionality for textareas. Give me
a suggestion in the comments for the event bug, if you have the time.
ORIGINAL CREDIT:
- Rework of David Schontzler's excellent ExpandArea script, which provided a good framework for extending. A short cleanly written script showing off some fairly advanced DOM manipulation techniques. The first thing I thought after loading it up was: this is a great idea, I have got to have more movement options in this thing :-)
UI CHANGES:
- Modified the reset function to a toggle between semi-maximized and reset (click red dot)
- Added move feature (drag red dot)
- Added alternate "zoom" resize function (press SHIFT key and drag blue dot)
COMMENTS:
- Added zIndex incrementing, so forum pages with several textareas will always flip the one you're using on top of others
- Modified event trigger for copying text back to original textarea from 'onkeyup' to 'onblur' in the proxy 'txt' element. Definitely a better choice as long as it works, which it does on the web mail and forums I tested on. (Including this one, and the description you're reading now.)
- I can be reached at albinrw (at) yahoo (dot) com if you have comments/complaints.
|
|
It still doesn't work. I suggest this script of mine as an alternative: http://userscripts.org/scripts/show/5073 |
|
|
For me, this no workee. Hitting the little tab does nothing other than throw an error in the JS Console window: "Error: [Exception... "Component is not available" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: {unknown filename} :: setup :: line 252" data: no]" |
|
|
Moving/resizing sticks if you move too quickly, and the page doesn't reflow around a resized textarea, see the 'Textarea Resize' for an alternative. |
|
|
Simply awesome! Text areas that are too small are one of my big pet-peves on the web. |
You could comment on this script if you were logged in.
