[dev] Autocomplete on compose message

Nuno Loureiro nuno at co.sapo.pt
Mon Jul 14 04:26:59 PDT 2003


On Fri, 2003-07-11 at 21:29, Chuck Hagenbuch wrote:

> Hmm. I have to say I'm not really happy with the turba attribute/load them all
> into javascript solution. Even if it was slower, I'd rather stick with a
> variant of the current system, but create the drop down like you do when the
> onBlur() expansion runs. Any problems with doing it that way?

I'm not sure if I understood correctly what you want. You want the drop
down only when the onblur event occurs?

Anyway, I have a sugestion. I think Jan gave me a similiar sugestion in
the past. I could do like in auto-expand, i.e., load the list of
addresses in background in an iframe. This list would be created after
the user typed the first char in To: or Cc: or Bcc: field. This list is
a list of records started by such letter and that means records which
first name or last name or email start by that letter.

That way, we don't load the entire address book, and we minimize the
time the user has to wait for the list (because we load it after the
first char is typed, and the drop down is only showed up after 2 or 3
chars typed.)

What do you think?

Regards,

 Nuno

-- 
Nuno Loureiro <nuno at co.sapo.pt>
PTM.com - http://www.sapo.pt/
PGP fingerprint = 8A32 5174 E80C 2D40 9075 405E C107 6592 054A 4D05



More information about the dev mailing list