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 ++ [EMAIL PROTECTED]
> 
> 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/.
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to