Re: AjaxAutoComplete list width
Re: AjaxAutoComplete list width
- Subject: Re: AjaxAutoComplete list width
- From: "Ricardo J. Parada" <email@hidden>
- Date: Thu, 09 Apr 2009 13:58:13 -0400
By the way, it worked great!!
Thanks.
On Apr 8, 2009, at 2:31 AM, Ricardo J. Parada wrote:
Awesome... thanks.
On Apr 7, 2009, at 8:14 PM, getsharp wrote:
On 08/04/2009, at 6:27 AM, Ricardo J. Parada wrote:
Is there a way to set the width of the list of matches that an
AjaxAutoComplete renders? Right now it seems to always match the
width of the text field.
You can achieve it by tweaking css, eg:
.auto_complete ul { width:150px; }
I managed to write some JavaScript that sets the width of the text
field to 40px. But when I start typing in that text field I want
the list of matches to be ~150px because it includes a long
description and 40px makes it wrap around and looks ugly.
Any ideas?
The text field size can be set with a "size = " binding, no
javascript required.
Cheers,
Sharpy..
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden