Christian, I came accross your solution awhile back but there is one issue that I can't seem to deal with when using select box replacement. I want to be able to have images and html markups in the option fields and it seems like that is not possible doing a straight replacement because the html tags are removed from the option field.
Any ideas on a workaround for that? Good work on your plugin. Cheers, David Christian Bach wrote: > > Here a small demo for my selectbox plugin. > > http://www.cbach.jquery.com/demos/selectbox/ > > I haven't released it yet, perhaps i will find the time soon. > > It overwrites the select elements if the user has support for js otherwise > the standard select element will be used. > > And yes it has support for keyboards navigation. > > /christian > > > Yehuda Katz wrote: >> 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/ >>> >> >> >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> jQuery mailing list >> [email protected] >> http://jquery.com/discuss/ > > _______________________________________________ > 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#a8088198 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
