Make Better Select Boxes with Chosen
11–20 of 89 posts
Re: Make Better Select Boxes with Chosen
#12Re: Make Better Select Boxes with Chosen
#13 $(".recipient_relation").chosen disable_search_threshold: 10
And if in Backbone you'd like to have it preselect the value, run something like this after render (so you don't have to add much logic to your handlebar template for the markup):@$("#address_country_field option").each -> $(@).attr "selected", "selected" if self.model.get("address_country") is $(@).val()
It'd be nice to see some folks share their menu styles. The gradient on the select doesn't quite fit in with all site styles.
Re: Make Better Select Boxes with Chosen
#14Re: Make Better Select Boxes with Chosen
#15Also worthwhile checking out https://github.com/meltingice/ajax-chosen, which adds much-needed Ajax support to Chosen.js.
Re: Make Better Select Boxes with Chosen
#16Re: Make Better Select Boxes with Chosen
#17Chosen.js has a great UI, but I found it challenging to do customizations to the library. I wish that the authors of the library had exposed more event hooks or built it with more modularity. Also worthwhile checking out https://github.com/meltingice/ajax-chosen , which adds much-needed Ajax support to Chosen.js.
Re: Make Better Select Boxes with Chosen
#18Re: Make Better Select Boxes with Chosen
#19http://www.exratione.com/2011/12/a-dark-style-for-chosen-sel...
Way too much CSS, but I guess that's par for the course considering how much is going on inside the thing.
Re: Make Better Select Boxes with Chosen
#20The thing is, when I see an OS-native-looking element I know immediately what it is.
For the skinned stuff, while it looks nice to the eye, it takes longer. When we're browsing thousand of pages a day it's kind of something you notice.