Styling the select1 autocomplete drop-down

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Styling the select1 autocomplete drop-down

mbklein-2
Hello,

I've inherited an Orbeon-based XForms app from another developer, and I'm really happy with it so far. There's one thing I haven't been able to figure out, however. How can I apply my own style rules to the drop-down list that appears on a select1 with appearance="xxforms:autocomplete"? I've used Firebug to try to inspect the drop-down, but of course it disappears on its own before I can find out anything useful. All of the style rules appear to be applied to the local element anyway; I can't find reference to any useful IDs or classes.

Thanks,
Michael B. Klein
Reply | Threaded
Open this post in threaded view
|

Re: Styling the select1 autocomplete drop-down

Erik Bruchez
Administrator
Michael,

Your idea of using Firebug is what I would have advised to do so that  
is a great start.

With the XForms Controls example, in the second tab which shows an  
autocomplete, I do manage to open the dropdown and inspect its style  
with Firebug, using cmd-shift-c ("Inspect Element"). This is with FF 3  
on OS X.

(Note that we hope to migrate to the YUI autocomplete at some point.  
This will have the benefit of better doc and easier maintenance.)

-Erik

On Aug 14, 2008, at 9:54 PM, mbklein wrote:

>
> Hello,
>
> I've inherited an Orbeon-based XForms app from another developer,  
> and I'm
> really happy with it so far. There's one thing I haven't been able  
> to figure
> out, however. How can I apply my own style rules to the drop-down  
> list that
> appears on a select1 with appearance="xxforms:autocomplete"? I've used
> Firebug to try to inspect the drop-down, but of course it disappears  
> on its
> own before I can find out anything useful. All of the style rules  
> appear to
> be applied to the local element anyway; I can't find reference to  
> any useful
> IDs or classes.
>
> Thanks,
> Michael B. Klein
>
> --
> View this message in context: http://www.nabble.com/Styling-the-select1-autocomplete-drop-down-tp18992173p18992173.html
> Sent from the ObjectWeb OPS - Users mailing list archive at  
> Nabble.com.
>
>
> --
> You receive this message as a subscriber of the [hidden email]  
> mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> OW2 mailing lists service home page: http://www.ow2.org/wws
--
Orbeon Forms - Web Forms for the Enterprise Done the Right Way
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
OW2 mailing lists service home page: http://www.ow2.org/wws