>From my reading, I thought that the Ajax.Autocompleter limited the number of choices displayed in my div to 10. However, my div is stretching on to eternity. I tried specifying the number by using the choices option like such:
new Ajax.Autocompleter('startName', 'startNames', '/myUrl',{ method: 'get', indicator: 'pacifier', choices: 10 }); This was ignored. My expectation was to see a shorter div with a scroll bar for the rest of the choices. Have I misunderstood this option? I tried getting around this problem by setting the height in the css. The problem with this solution is that scriptaculous is setting the width of the box without accommodating for the scroll bar. Some of my longer choices are wrapping to the second line, on top of the next choice. My final option is to restrict the number of results returned from the server, but I was hoping to avoid this. Any suggestion? --~--~---------~--~----~------------~-------~--~----~ 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@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---