That's what I was afraid of.  I have made some css adjustments and the
results div does look nice, but I can get back enough results to make the
entire page scroll, so I thought it would be nice to shorten the results up
a bit.  Oh well, still awesome functionality for one line of code :-)



|---------+-------------------------------------------->
|         |           "Daniel Elmore"                  |
|         |           <[EMAIL PROTECTED]>         |
|         |           Sent by:                         |
|         |           [EMAIL PROTECTED]|
|         |           onrails.org                      |
|         |                                            |
|         |                                            |
|         |           08/09/2006 05:19 AM              |
|         |           Please respond to rails-spinoffs |
|         |                                            |
|---------+-------------------------------------------->
  
>------------------------------------------------------------------------------------------------------------------------------|
  |                                                                             
                                                 |
  |       To:       <rails-spinoffs@lists.rubyonrails.org>                      
                                                 |
  |       cc:       (bcc: Tyler L. Adamson/UPC)                                 
                                                 |
  |       Subject:  RE: [Rails-spinoffs] Autocompleter                          
                                                 |
  
>------------------------------------------------------------------------------------------------------------------------------|




You can set the height with CSS using the ID you assigned to the results
div. But it's usually better to not set a height so that all records
returned will be seen. You should specify a height for each of the records
inside the results div, but not on the results div itself. Scrolling does
not work with the autocompleter.

Daniel


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 2:07 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: [Rails-spinoffs] Autocompleter


Is there any way to set the height of the Automcompleter's div that gets
the return values?  When you set it with an overflow, it works, but if the
user scrolls by clicking on the scroll bar the list disappears...

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to