isn't getting us there. A standard text input isn't either, as it tends to cue the device to show the alpha keyboard, which doesn't have numbers on it. The HTML5 type="number" almost works, but for some Android browsers, which don't have the colon (:) on the numeric keyboard.
I'm well aware that we're in the land of chaos with mobile browsers, but does anyone have a good idea of what might function well for both Android and iPhone?
Note: I've tried googling, and checked out various jQuery plugins, and none provide a good user experience for mobile--and many are poor even for the desktop. Ideas?
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
我不太喜欢他们的方法,但我相信 Any+Time 日期/时间选择器会起作用在移动设备上相当好 - 它可以静态定位,并且宽高比和按钮尺寸看起来很合适。
也就是说,在我的 iPhone 上进行测试表明,有一些问题需要解决。值得注意的是,点击选择器小部件中的按钮后,选择器填充的“隐藏”输入字段将获得焦点,视图会四处移动,并且屏幕键盘会弹出。
I don't particularly like their approach, but I believe the Any+Time date/time picker would work reasonably well on a mobile device - it can be positioned statically and the aspect ratio and button sizes look Right.
That said, testing it on my iPhone shows that a few kinks need to be ironed out. Notably, after tapping a button in the picker widget, the "hidden" input field the picker populates is focused and the view moves around and the onscreen keyboard pops up.
我讨厌在这里回答我自己的问题,但看起来 Mobiscroll 最接近为我们的用户解决问题。我们还查看了 jQM-DateBox 但感觉当您向前滚动超过 59 或向后滚动超过 0 时,我们的用户会对小时值自动更改感到不舒服。
除此之外,我们确实在标准下拉列表上使用 jQuery Mobile 选择列表进行了评估,但它我们使用它时感觉错误,因为它本质上是在页面上弹出一个 div,并且滚动它会移动整个页面相当多的距离。我认为这对于某些项目来说非常有用,但不适用于我们的用户群。
I hate answering my own questions here, but it looks like Mobiscroll comes closest to solving the problem for our users. We also looked at the jQM-DateBox but felt that our users would not be comfortable with the hour value changing automatically when you roll forward past 59, or backward past 0.
In addition to this, we did evaluate using a jQuery Mobile select list on a standard dropdownlist, but it felt wrong as we used it, as it essentially pops a div on the page, and scrolling through that moves the entire page quite a bit. I think that one would be great for a few items, but not applicable to our user base.