Hi all, Firstly is there a way to search the archives? Second I was wondering if there is a way to implement a scrollbar on the list that occurs when you use autocomplete. I have some lists that are very long so I would like to shorten them but still have all the options. Regards, ----------------------- Iggy Sandejas D-Frag Solutions http://www.dfrag.com.au -----------------------
You should be able to add "overflow:scroll;" style to your autocomplete list container (div) On 2/14/06, Ignacio Sandejas <iggy@dfrag.com.au> wrote:> Hi all, > > Firstly is there a way to search the archives? > > Second I was wondering if there is a way to implement a scrollbar on the > list that occurs when you use autocomplete. I have some lists that are > very long so I would like to shorten them but still have all the options. > > Regards, > ----------------------- > Iggy Sandejas > D-Frag Solutions > http://www.dfrag.com.au > ----------------------- > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >_______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
> You should be able to add "overflow:scroll;"This has been suggested before but it falls short at many levels. It doesn''t allow you to click the scroll bar, the blur event is still fired which fades the search results. Also, keyup and keydown won''t push the visible portion up or down. There are a few other quirks too. I started working on some modifications to get it working but had to put it down for now. If anyone has actually gotten it setup, I''d love to hear about it. ~Daniel Elmore -----Original Message----- From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Ed C. Sent: Tuesday, February 14, 2006 12:15 AM To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org Subject: Re: [Rails-spinoffs] Scrollbar in Autocomplete List You should be able to add "overflow:scroll;" style to your autocomplete list container (div) On 2/14/06, Ignacio Sandejas <iggy-WbLwnTuLOdP0CCvOHzKKcA@public.gmane.org> wrote:> Hi all, > > Firstly is there a way to search the archives? > > Second I was wondering if there is a way to implement a scrollbar on the > list that occurs when you use autocomplete. I have some lists that are > very long so I would like to shorten them but still have all the options. > > Regards, > ----------------------- > Iggy Sandejas > D-Frag Solutions > http://www.dfrag.com.au > ----------------------- > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs >
Heya, Quick word on that: the autocompleter is (currently) meant for only giving a few matching suggestions (like anywhere from 5-10). So, the code would need to be extended to correctly handle containers with overflow (like Daniel described). Patches are welcome. :) -Thomas Am 14.02.2006 um 09:13 schrieb Daniel Elmore:>> You should be able to add "overflow:scroll;" > > This has been suggested before but it falls short at many levels. > It doesn''t > allow you to click the scroll bar, the blur event is still fired > which fades > the search results. Also, keyup and keydown won''t push the visible > portion > up or down. There are a few other quirks too. > > I started working on some modifications to get it working but had > to put it > down for now. If anyone has actually gotten it setup, I''d love to > hear about > it. > > ~Daniel Elmore > > > -----Original Message----- > From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of > Ed C. > Sent: Tuesday, February 14, 2006 12:15 AM > To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > Subject: Re: [Rails-spinoffs] Scrollbar in Autocomplete List > > You should be able to add "overflow:scroll;" style to your > autocomplete list container (div) > > On 2/14/06, Ignacio Sandejas <iggy-WbLwnTuLOdP0CCvOHzKKcA@public.gmane.org> wrote: >> Hi all, >> >> Firstly is there a way to search the archives? >> >> Second I was wondering if there is a way to implement a scrollbar >> on the >> list that occurs when you use autocomplete. I have some lists that >> are >> very long so I would like to shorten them but still have all the >> options. >>
Thanks all. I''ll have to see if I can work out a solution. Iggy Thomas Fuchs wrote:> Heya, > > Quick word on that: the autocompleter is (currently) meant for only > giving a few matching suggestions (like anywhere from 5-10). So, > the code would need to be extended to correctly handle containers > with overflow (like Daniel described). > > Patches are welcome. :) > > -Thomas > > > Am 14.02.2006 um 09:13 schrieb Daniel Elmore: > >>> You should be able to add "overflow:scroll;" >> >> This has been suggested before but it falls short at many levels. It >> doesn''t >> allow you to click the scroll bar, the blur event is still fired >> which fades >> the search results. Also, keyup and keydown won''t push the visible >> portion >> up or down. There are a few other quirks too. >> >> I started working on some modifications to get it working but had to >> put it >> down for now. If anyone has actually gotten it setup, I''d love to >> hear about >> it. >> >> ~Daniel Elmore >> >> >> -----Original Message----- >> From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Ed C. >> Sent: Tuesday, February 14, 2006 12:15 AM >> To: rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org >> Subject: Re: [Rails-spinoffs] Scrollbar in Autocomplete List >> >> You should be able to add "overflow:scroll;" style to your >> autocomplete list container (div) >> >> On 2/14/06, Ignacio Sandejas <iggy-WbLwnTuLOdP0CCvOHzKKcA@public.gmane.org> wrote: >>> Hi all, >>> >>> Firstly is there a way to search the archives? >>> >>> Second I was wondering if there is a way to implement a scrollbar on >>> the >>> list that occurs when you use autocomplete. I have some lists that are >>> very long so I would like to shorten them but still have all the >>> options. >>> > _______________________________________________ > Rails-spinoffs mailing list > Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org > http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs > > >