On mobile in particular, there's a couple of problems with the web-page approach to UI. One, it adds yet more stuff to download that "shouldn't" be necessary just for a page to be functional. And two, if the interface is too desktop-like I bet it'll either behave badly or not work at all on an iPhone (there's a reason iOS' scroller-menu-thing looks nothing like the Mac's pop-up menu interface despite both using Cocoa). Theoretically the second problem could be addressed by code that detects the device type and presents yet another web interface for mobile, but that'll probably make the first problem of page bloat even worse.
Select2 - A better way to make select boxes (with jQuery)
11–20 of 60 posts
Re: Select2 - A better way to make select boxes (with jQuery)
#12While it's always good to have people exploring improvements to UI elements, it would be superior to have those improvements show up as patches to WebKit or Firefox or GNOME or whatever else. Native UI elements need the improvements; that's where UI actually belongs. On mobile in particular, there's a couple of problems with the web-page approach to UI. One, it adds yet more stuff to download that "shouldn't" be nece…
Re: Select2 - A better way to make select boxes (with jQuery)
#13Re: Select2 - A better way to make select boxes (with jQuery)
#14It got type ahead support (like in Google search field), ability to define your own filtering algorithm and robust event system which gives the flexibility to modify almost any aspect of the behaviour.
Here's the GitHub repo - https://github.com/laktek/jQuery-Smart-Auto-Complete
Re: Select2 - A better way to make select boxes (with jQuery)
#15Obligatory: what's the difference between Select2 and Chosen? ( http://news.ycombinator.com/item?id=4074501 )
Re: Select2 - A better way to make select boxes (with jQuery)
#16Chosen can't do that.
Re: Select2 - A better way to make select boxes (with jQuery)
#17A good example of select2 with paged ajax typeahead queries is the place search box at http://homehelpnow.com.au Chosen can't do that.
Re: Select2 - A better way to make select boxes (with jQuery)
#18While it's always good to have people exploring improvements to UI elements, it would be superior to have those improvements show up as patches to WebKit or Firefox or GNOME or whatever else. Native UI elements need the improvements; that's where UI actually belongs. On mobile in particular, there's a couple of problems with the web-page approach to UI. One, it adds yet more stuff to download that "shouldn't" be nece…
Good points but I think you're preaching to the choir. The bottleneck is the W3C which is probably bogged with all sorts of red tape and politics.