I agree, it'd be perfect if it was based in select elements themselves. This way you could use it combined with other plugins to manipulate the option list.
Jip ________________________________ De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] En nombre de Yehuda Katz Enviado el: viernes, 29 de diciembre de 2006 6:31 Para: jQuery Discussion. Asunto: Re: [jQuery] My First Plugin - Custom Select Box Ah, My ideal situation would be to have a select box that gets converted via JS for graceful degradation. -- Yehuda On 12/29/06, blemming < [EMAIL PROTECTED]> wrote: * Be stylable in terms of borders and padding (based on the styles on the select box itself) There is no select box present in my plugin. If you notice it is based on a grouping of nested divs and the padding and borders can be controled via css * Delegate events on the custom select to the actual select (to allow for $("select").click( // )) Since there is no select box present I'm not sure how to delegate the events to $("select") but I would love to know how to do it * Position as you would expect a normal select box to position (minus weird off-pixel problems) it does * Be able to float Yep, the container div can be styled to float. wycats wrote: > > My ideal custom select would: > * Be stylable in terms of borders and padding (based on the styles on the > select box itself) > * Delegate events on the custom select to the actual select (to allow for > $("select").click( // )) > * Position as you would expect a normal select box to position (minus > weird > off-pixel problems) > * Be able to float > > In other words, I would want the existence of the custom select to be > basically invisible from an implementer. How well does your custom select > do > this? > > -- Yehuda > > On 12/28/06, blemming <[EMAIL PROTECTED] > wrote: >> >> >> Here is my first attempt at a plug-in. It is definitely in the early >> stage >> of development, but I thought I'd put it out here for you guys to rip >> apart >> (and hopefully provide a suggestions or two) >> >> Here it is => http://brilliantretail.com/cases/select/ Custom Select >> Plugin >> >> Let me know what you think..... >> >> Thanks, David >> -- >> View this message in context: >> http://www.nabble.com/My-First-Plugin---Custom-Select-Box-tf2893253.html#a8083502 >> Sent from the JQuery mailing list archive at Nabble.com. >> >> >> _______________________________________________ >> jQuery mailing list >> [email protected] >> http://jquery.com/discuss/ >> > > > > -- > Yehuda Katz > Web Developer | Wycats Designs > (ph) 718.877.1325 > > _______________________________________________ > jQuery mailing list > [email protected] > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/My-First-Plugin---Custom-Select-Box-tf2893253.html#a8084033 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/ -- Yehuda Katz Web Developer | Wycats Designs (ph) 718.877.1325
_______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
