john.drogba-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Mar-20 11:11 UTC
Autocompletion Scrollbar
Hi, I use autocompletion function and i would like to have a scroball bar in my response list. The autocompletion shows a list of city and the list is very long even if I put3 or 4 in minchar. So I would like to have a scroball bar in my list of choices. Can someone help me ? thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Hey there, john.drogba-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org a écrit :> I use autocompletion function and i would like to have a scroball bar > in my response list. The autocompletion shows a list of city and the > list is very long even if I put3 or 4 in minchar. So I would like to > have a scroball bar in my list of choices.Use CSS for the completion list. Something like a fixed height and "overflow: auto" should do the trick. -- Christophe Porteneuve aka TDD tdd-x+CfDp/qHev2eFz/2MeuCQ@public.gmane.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
You going to have to modify your control.js or extend your own onBlur method. The current version only supports scrolling in FF. Here''s the code to implement scrolling in IE: http://dev.rubyonrails.org/ticket/4782#comment:17 Daniel -----Original Message----- From: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org [mailto:rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of john.drogba-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org Sent: Tuesday, March 20, 2007 6:11 AM To: Ruby on Rails: Spinoffs Subject: [Rails-spinoffs] Autocompletion Scrollbar Hi, I use autocompletion function and i would like to have a scroball bar in my response list. The autocompletion shows a list of city and the list is very long even if I put3 or 4 in minchar. So I would like to have a scroball bar in my list of choices. Can someone help me ? thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
This would be implemented in the scriptaculo''s branch if it only had Safari support (according to madrobby). On 20 Mar, 18:16, Daniel Eben Elmore <danielelm...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> You going to have to modify your control.js or extend your own onBlur > method. The current version only supports scrolling in FF. > > Here''s the code to implement scrolling in IE:http://dev.rubyonrails.org/ticket/4782#comment:17 > > Daniel-----Original Message----- > From: rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org > > [mailto:rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org] On Behalf Of > john.dro...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org > Sent: Tuesday, March 20, 2007 6:11 AM > To: Ruby on Rails: Spinoffs > Subject: [Rails-spinoffs] Autocompletion Scrollbar > > Hi, > > I use autocompletion function and i would like to have a scroball bar > in my response list. The autocompletion shows a list of city and the > list is very long even if I put3 or 4 in minchar. So I would like to > have a scroball bar in my list of choices. > > Can someone help me ? > > thanks--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---