SPENDLOVE, Matt, FM
2006-Mar-13 16:14 UTC
Autocompleter that auto scrolls through results..
Hi All Before I investigate further, has anyone implemented an Autocompleter that will auto scroll down / up the results div as the user moves down through the list (using arrow keys) ? Any pointers / thoughts appreciated. Best Matt *********************************************************************************** The Royal Bank of Scotland plc. Registered in Scotland No 90312. Registered Office: 36 St Andrew Square, Edinburgh EH2 2YB. Authorized and regulated by the Financial Services Authority This e-mail message is confidential and for use by the addressee only. If the message is received by anyone other than the addressee, please return the message to the sender by replying to it and then delete the message from your computer. Internet e-mails are not necessarily secure. The Royal Bank of Scotland plc does not accept responsibility for changes made to this message after it was sent. Whilst all reasonable care has been taken to avoid the transmission of viruses, it is the responsibility of the recipient to ensure that the onward transmission, opening or use of this message and any attachments will not adversely affect its systems or data. No responsibility is accepted by The Royal Bank of Scotland plc in this regard and the recipient should carry out such virus and other checks as it considers appropriate. Visit our websites at: http://www.rbos.com http://www.rbsmarkets.com ********************************************************************************
Jeremy Kitchen
2006-Mar-13 16:59 UTC
Re: Autocompleter that auto scrolls through results..
On Monday 13 March 2006 08:14, SPENDLOVE, Matt, FM wrote:> Hi All > > Before I investigate further, has anyone implemented an Autocompleter that > will auto scroll down / up the results div as the user moves down through > the list (using arrow keys) ?the scriptaculous autocompleter already does this. -Jeremy -- Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Maninder, Singh
2006-Mar-13 19:29 UTC
RE: Autocompleter that auto scrolls through results..
I think this is what you are looking for: http://dev.rubyonrails.org/ticket/3516 <http://dev.rubyonrails.org/ticket/3516> Thank you, Mandy. _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
Jeremy Kitchen wrote:> On Monday 13 March 2006 08:14, SPENDLOVE, Matt, FM wrote: >> Hi All >> >> Before I investigate further, has anyone implemented an Autocompleter that >> will auto scroll down / up the results div as the user moves down through >> the list (using arrow keys) ? > > the scriptaculous autocompleter already does this. > > -Jeremy > > -- > Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org > > In the beginning was The Word and The Word was Content-type: text/plain > -- The Word of Bob.Hi, I am using Ajax.AutoCompleter and i see its working except for one thing! I could not scroll or select the option either by mouse control or key board arrow keys. am i missing something. heres what i have <div id="content"> <style> div.auto_complete { width:250px; background-color:white; border:1px solid #888; margin:0px; padding:0px; } div.auto_complete ul { list-style-type: none; margin:0px; padding:0px; } div.auto_complete ul li.selected { background-color: #ffb;} div.auto_complete ul li { list-style-type: none; display:block; margin:0; padding:2px; height:32px; } </style> <input id="auto_complete" size="40" type="text" name="contact[name]" value="" /></p> <div class="auto_complete" id="cities_list" style="display:none"></div> <script type=''text/javascript''> new Ajax.Autocompleter(''auto_complete'', ''cities_list'', ''/ajax/autocompleter.html'', {}); </script> </div> I can see that i am getting the correct updated values but my only problem is i could not navigate or browse through the list.. Can anyone please tell what s wrong?? Thanks! Erin -- Posted via http://www.ruby-forum.com/.