Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2008-07-03 08:13:04

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

rah_expanding // Dynamically growing textareas

Rah_expanding is an admin-side plugin that makes textarea elements grow automatically with the user’s input. While the user types, the field’s height will increase to fit the content.

More info and downloads

Last edited by Gocom (2012-08-08 08:15:58)

Offline

#2 2008-07-03 08:45:01

Zanza
Plugin Author
Registered: 2005-08-18
Posts: 699
Website

Re: rah_expanding // Dynamically growing textareas

Really nice! To have this working with aro_myadmin I have to change aro_myadmin <div id=“body”> to <div=“body1”> both in plugin code and in corresponding selectors in myadmin.css. There is an issue because id=“body” is used also for the first textarea and you can use only one in a page. Fortunately with this modification everything work. I’ll post this also on aro_myadmin thread.

Thanks!

Offline

#3 2008-07-03 09:02:38

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_expanding // Dynamically growing textareas

Zanza wrote:

There is an issue because id=“body” is used also for the first textarea and you can use only one in a page.

Yep, that is “little” mistake in the default aro_myadmin layout, ‘cause same ID can be used only once :) And when this plugin uses it as selector (textarea#body), then it kinda makes it unfunctional.

Offline

#4 2008-07-03 09:22:59

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_expanding // Dynamically growing textareas

First update released – now it’s version 0.2.

Offline

#5 2008-07-03 09:39:00

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,719
Website

Re: rah_expanding // Dynamically growing textareas

A nice little addition that makes things easier for authors. Thanks!


TXP Builders – finely-crafted code, design and txp

Offline

#6 2008-07-03 10:43:35

kemie
Plugin Author
From: mexico<-->sweden
Registered: 2004-05-20
Posts: 495
Website

Re: rah_expanding // Dynamically growing textareas

excellent plugin! thanks!


~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~

Offline

#7 2008-07-03 10:46:15

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_expanding // Dynamically growing textareas

Thank you kemie and jakob :)

Offline

#8 2008-07-03 12:01:08

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

Re: rah_expanding // Dynamically growing textareas

This would make a fine extension for the public-facing side when attached to .txpCommentInputMessage, I think.

Offline

#9 2008-07-03 19:18:43

the_ghost
Plugin Author
From: Minsk, The Republic of Belarus
Registered: 2007-07-26
Posts: 907
Website

Re: rah_expanding // Dynamically growing textareas

For myself i’ve done a little more interesting thing – besides adjusting height of textareas i made then wider, using such formula: new_width=width_of_browser - width_of_left_column - width_of_right_column because default width of textareas (forms, plugins_code, pages is too little for me.


Providing help in hacking ATM! Come to courses and don’t forget to bring us notebook and hammer! What for notebook? What a kind of hacker you are without notebok?

Offline

#10 2008-07-04 09:24:04

Niconemo
Member
From: Rhône-Alpes, France
Registered: 2005-04-18
Posts: 557

Re: rah_expanding // Dynamically growing textareas

Cool plugin ! I love it !


Nico

Offline

#11 2008-07-04 10:47:05

Gocom
Developer Emeritus
From: Helsinki, Finland
Registered: 2006-07-14
Posts: 4,533
Website

Re: rah_expanding // Dynamically growing textareas

wet wrote:

This would make a fine extension for the public-facing side when attached to .txpCommentInputMessage, I think.

Yep, it could ;) Anyone wanting frontend version of this? :P

the_ghost wrote:

For myself i’ve done a little more interesting thing…

Yep. Okay. Smthn. :)

Nicemo wrote:

Cool plugin ! I love it !

Thx :-)

Offline

#12 2008-07-04 12:18:31

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,306

Re: rah_expanding // Dynamically growing textareas

Gocom wrote:

Anyone wanting frontend version of this? :P

Yup! :)

At the beginning of the year Gerhard Lazu announced text areas for custom fields. This will be really interesting for those, too, in order to save as much space as possible. Looks like it’s almost just css to hack, once they’ve arrived :)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

Board footer

Powered by FluxBB