johnmcauley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Nov-09 12:24 UTC
text_field_with_auto_complete scrollbars
Greetings, I am using text_field_with_auto_complete to help narrow a long list of subject headings, about 10,000 in all. However, I wish to provide a scrollbar so that users can scroll through a list if there are too many results returned in the drop down. Has anyone been able to do this? I have and still am searching around but without too much success. Regards, John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Hi John Have you talen a look at a Rails Plugin called RecordSelect ? CCH http://cch4rails.blogspot.com On Nov 9, 8:24 pm, "johnmcau...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <johnmcau...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Greetings, > > I am using text_field_with_auto_complete to help narrow a long list of > subject headings, about 10,000 in all. However, I wish to provide a > scrollbar so that users can scroll through a list if there are too > many results returned in the drop down. Has anyone been able to do > this? I have and still am searching around but without too much > success. > > Regards, > John--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
johnmcauley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Nov-09 12:32 UTC
text_field_with_auto_complete scrollbars
Greetings, I am using text_field_with_auto_complete to help narrow a long list of subject headings, about 10,000 in all. However, I wish to provide a scrollbar so that users can scroll through a list if there are too many results returned in the drop down. Has anyone been able to do this? I have and still am searching around but without too much success. Regards, John --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
johnmcauley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Nov-09 12:35 UTC
Re: text_field_with_auto_complete scrollbars
No, I didn''t. I''ll have a look now. Thanks. j On Nov 9, 12:29 pm, CCH <c...-Z/Eug3sLCsSPzdAsCNHSEg@public.gmane.org> wrote:> Hi John > > Have you talen a look at a Rails Plugin called RecordSelect ? > > CCHhttp://cch4rails.blogspot.com > > On Nov 9, 8:24 pm, "johnmcau...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <johnmcau...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> > wrote: > > > Greetings, > > > I am using text_field_with_auto_complete to help narrow a long list of > > subject headings, about 10,000 in all. However, I wish to provide a > > scrollbar so that users can scroll through a list if there are too > > many results returned in the drop down. Has anyone been able to do > > this? I have and still am searching around but without too much > > success. > > > Regards, > > John--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Nov 9, 2007, at 1:24 PM, johnmcauley-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote:> I am using text_field_with_auto_complete to help narrow a long list of > subject headings, about 10,000 in all. However, I wish to provide a > scrollbar so that users can scroll through a list if there are too > many results returned in the drop down. Has anyone been able to do > this? I have and still am searching around but without too much > success.The selection list lives in a DIV with a generated ID, class "auto_complete", and some inline CSS. You can inspect them with Firebug. So, perhaps you could try adding something like /* untested */ #the_generated_id { height: something; overflow: auto; } to some CSS. -- fxn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
hi xavier, i had tried what you had said,it works fine on FireFox but on IE the drop down dissapears when i try to drag it with mouse,it works fine when i do it with up and down keys..is there any fix for that Thanks On Nov 9, 7:49 am, Xavier Noria <f...-xlncskNFVEJBDgjK7y7TUQ@public.gmane.org> wrote:> On Nov 9, 2007, at 1:24 PM, johnmcau...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org wrote: > > > I am using text_field_with_auto_complete to help narrow a long list of > > subject headings, about 10,000 in all. However, I wish to provide a > > scrollbar so that users can scroll through a list if there are too > > many results returned in the drop down. Has anyone been able to do > > this? I have and still am searching around but without too much > > success. > > The selection list lives in a DIV with a generated ID, class > "auto_complete", and some inline CSS. You can inspect them with Firebug. > > So, perhaps you could try adding something like > > /* untested */ > #the_generated_id { > height: something; > overflow: auto; > } > > to some CSS. > > -- fxn--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On Nov 13, 2007, at 4:57 PM, rubyreddy wrote:> hi xavier, i had tried what you had said,it works fine on FireFox but > on IE the drop down dissapears when i try to drag it with mouse,it > works fine when i do it with up and down keys..is there any fix for > thatI guess some CSS-fu is needed there, there are guys that know their stuff in freenode#css. -- fxn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---