问题
I'm looking for a iPhone-like "picker" control that I'm able to use on the web.
Accessibility is not a concern. JavaScript will be available on all clients and the web app will be run on an environment provided to the user. If the solution could gracefully degrade to a select box though, that would be great. Flash & Silverlight are not ideal (for reasons I don't care to jump into) but similar solutions in Flash & Silverlight may be appreciated by others.
Here's an example of the control on an iPhone:
回答1:
I know this question is somewhat old, but since I have an answer I could just as well give it. Other people can still be looking for it (just like I did). I created this control to use it as a plugin with jQuery. See my blog:
http://marinovdh.wordpress.com/2011/09/14/use-the-iphone-uipickerview-control-as-a-selectbox-on-your-website-with-jquery/
回答2:
It sounds like you're looking for something already built, which I haven't seen, but it looks like you could build one by using YUI's Carousel Control plus Animations, as this section on the carousel control page explains.
Good luck!!
回答3:
ComponentOne may have what you're looking for. Check out the C1 Studio for iPhone at http://www.componentone.com. It's a suite of ASP.NET controls which mimic the Native look and feel of iPhone UI elements.
来源:https://stackoverflow.com/questions/652857/iphone-like-slot-machine-picker-select-box-for-the-web