[imp] Dynamically sized form elements for IMP's compose screen

Jan Schneider jan at horde.org
Wed Aug 10 08:09:02 PDT 2005


Zitat von Fred Ho <fkho at fredho.net>:

> Quoting Jan Schneider <jan at horde.org>:
>
>> Zitat von "Kevin M. Myer" <kevin_myer at iu13.org>:
>>
>>> The answer is probably no, otherwise it would already have been 
>>> done, but is
>>> there an easy way to dynamically generate the To, CC, and BCC
>>> fields, so that
>>> all addresses are easily accessible and visible?  The issue is if you
>>> have more
>>> than just a couple of addresses, you're forced to scroll back and
>>> forth to view
>>> all addressees.  The Expand Names function will, if more than one name is
>>> found, seperate all the entries out, on a line by line basis, which is
>>> certainly more user friendly.  But the ideal would be to have the
>>> fields shrink
>>> and grow dynamically as addresses are added, or removed.  Is this an
>>> issue for
>>> anyone else, and are there technical ways to solve it?
>>
>> This is possible with an "onkeypress" event handler setting the field
>> size dynamically. But that won't help, because soon the field would
>> extend the compose screen, any you have to scroll again.
>>
>> Jan.
>>
>
> Would it be possibe to extend a few rows automatically and then add
> in the scroll-bar to the To:/Cc:/Bcc: address fields like the mail view
> canvas having scroll-bar if the text is longer than the page view size.
> This way user can see more mail addresses up and down naturally than
> going left-right-left...

No, because the message text is in a textarea, and simple text fields 
don't have scrollbars. And changing this is probably like opening a can 
of worms.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the imp mailing list