1

jQuery Mobile is excellent when it comes to managing pages and page transitions, but does anyone know of a good way to produce partial page views (preferably in response to a swipe event)? For example, the user performs a right swipe to reveal a hidden menu similar to the Facebook app.

4

2 回答 2

1

jQuery Mobile v1.3 侧面板。测试版应该很快就会发布(一月?)。

http://jquerymobile.com/branches/slide-panel-refactor/docs/panels/index.html

于 2012-12-27T12:39:52.843 回答
0

是的,有一个为 jQuery Mobile 创建的 facebook 幻灯片菜单的工作插件。

你可以在这里找到它:https ://github.com/tegansnyder/JQuery-Mobile-Slide-Menu

这是一个例子:http ://www.tegdesign.com/tegansnyder-JQuery-Mobile-Slide-Menu/

它适用于滑动事件,也可以由点击事件触发。

您可以使用此插件/示例来创建局部视图组件。

于 2012-12-27T09:59:33.777 回答