Loading ...
Sorry, an error occurred while loading the content.

Re: Autocomplete Control Issue

Expand Messages
  • jennykhan
    Hi Muhammad, Take a look at this example, where the container height adjusts to fit the results:
    Message 1 of 2 , Dec 28, 2006
    • 0 Attachment
      Hi Muhammad,

      Take a look at this example, where the container height adjusts to fit
      the results:
      http://developer.yahoo.com/yui/examples/autocomplete/states_jsarray.html

      Notice that the height of the container is not styled via CSS.

      If you'd like to customize the color of the results themselves, you'll
      need to override the formatResult() method. Take a look at the example
      here to get started:
      http://developer.yahoo.com/yui/examples/autocomplete/ysearch_flat.html


      If you are still having trouble achieving what you want, please post a
      link to your page so we can help troubleshoot.

      Good luck!
      Jenny
    Your message has been successfully submitted and would be delivered to recipients shortly.