Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
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.
Last edited by Gocom (2012-08-08 08:15:58)
Offline
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
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
Offline
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
Re: rah_expanding // Dynamically growing textareas
excellent plugin! thanks!
~~~~~~~~~~~~~| monolinea.com | pixilate.com | istockphoto.com/kemie |~~~~~~~~~~~~~
Offline
Offline
Re: rah_expanding // Dynamically growing textareas
This would make a fine extension for the public-facing side when attached to .txpCommentInputMessage
, I think.
Offline
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
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,310
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