On Aug 31, 11:12 am, "Randy Jonasz"
<rjon...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hello everyone,
>
> I was wondering if there was a way to change the direction of the drop
> down menu for the autocompleter. Ideally I''d like to flow
upwards.
Ok, I think I have a workaround to display a autocomplete menu
upwards. The trick we used is to encapsulate the autocomplete div
inside a table with the td vertical-align property set to bottom. We
positioned the table above the auto complete text box. Then we wrote
our own onShow and onHide functions for the Autocompler to show and
hide the table. Actually we wrapped the table inside a span so we can
have scrollbars if the autocomplete list is too long, but you get the
idea.
Hope this helps someone,
Cheers,
Randy
--~--~---------~--~----~------------~-------~--~----~
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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---