网络上的iPhone(老虎机)'选择器'选择框? [英] iPhone-like (slot machine) 'picker' select box for the web?

查看:81
本文介绍了网络上的iPhone(老虎机)'选择器'选择框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找一种类似iPhone的选择器控件,我可以在网上使用。

I'm looking for a iPhone-like "picker" control that I'm able to use on the web.

辅助功能不是问题。 JavaScript将在所有客户端上提供,Web应用程序将在提供给用户的环境上运行。如果解决方案可以优雅地降级到选择框,那将是很好的。 Flash& Silverlight并不理想(出于我不想进入的原因),但Flash和Linux中的类似解决方案Silverlight可能会受到其他人的赞赏。

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.

以下是iPhone控件的示例:

Here's an example of the control on an iPhone:

推荐答案

我知道这个问题有些陈旧,但既然我有答案,我也可以给它。其他人仍然可以寻找它(就像我一样)。我创建了这个控件,将其用作jQuery的插件。看我的博客:

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 /

这篇关于网络上的iPhone(老虎机)'选择器'选择框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆