更新时间:2023-01-24 11:44:46
我最终使用了新的 jQuery Mobile v1.1:http://jquerymobile.com/blog/2012/04/13/announcing-jquery-mobile-1-1-0/
I ended up using the new jQuery Mobile v1.1: http://jquerymobile.com/blog/2012/04/13/announcing-jquery-mobile-1-1-0/
我们现在有一个可靠的重写,提供真正的固定工具栏许多流行的平台并安全地回退到静态工具栏在其他浏览器中定位.
We now have a solid re-write that provides true fixed toolbars on the a lot of popular platforms and safely falls back to static toolbar positioning in other browsers.
这种方法最酷的部分是,与基于 JS 的强加非自然滚动物理的解决方案平台,我们的滚动感觉是 100% 原生的,因为它是.这意味着滚动感觉无处不在,并与触摸,鼠标滚轮一起使用和键盘用户输入.作为奖励,我们基于 CSS 的解决方案非常棒轻量级,不影响兼容性或可访问性.
The coolest part about this approach is that, unlike JS-based solutions that impose the unnatural scrolling physics across all platforms, our scrolling feels 100% native because it is. This means that scrolling feels right everywhere and works with touch, mousewheel and keyboard user input. As a bonus, our CSS-based solution is super lightweight and doesn’t impact compatibility or accessibility.