[Seaside] Facebook Style - textArea height:auto

dirk newbold dirkdirk at gmail.com
Mon Nov 9 10:25:25 UTC 2009


Thanks for the tip.

Lukas, if you happen to spot this one and have a moment I'd be
greatful for any further tips.

Cheers,

Dirk


On Sun, Nov 8, 2009 at 11:08 PM, Philippe Marschall
<philippe.marschall at gmail.com> wrote:
> 2009/11/6 dirk newbold <dirkdirk at gmail.com>:
>> Hi,
>>
>> Does anybody know how to achieve an auto increase of the height of a
>> textArea to fit the input text as the user types, e.g. composing a new
>> mail or adding a comment in Facebook.
>
> IIRC there's a JS trick of writing the contents to an invisible div
> and giving the text area the same dimensions as the div. As usual, ask
> Lukas ;-)
>
> Cheers
> Philippe
> _______________________________________________
> seaside mailing list
> seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside
>


More information about the seaside mailing list