Reputation: 10239
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.
Upvotes: 1
Views: 1213
Reputation: 22578
jQuery Mobile v1.3 Side Pannels. The beta should be out soon (jan?).
http://jquerymobile.com/branches/slide-panel-refactor/docs/panels/index.html
Upvotes: 1
Reputation: 57309
Yes there is a working plugin recreation of facebook slide menu created for jQuery Mobile.
You can find it here: https://github.com/tegansnyder/JQuery-Mobile-Slide-Menu
Here's an example: http://www.tegdesign.com/tegansnyder-JQuery-Mobile-Slide-Menu/
It works with swipe events, or it can be triggered by click event.
You can use this plugin/example to create your partial view component.
Upvotes: 0