简体   繁体   English

没有JQuery Mobile的多页Phonegap App

[英]Multiple page Phonegap App without JQuery Mobile

I have created a few mobile app using phonegap and i have used jquery mobile, purely because the controls are nice looking, but mainly because it has the nice changePage function. 我已经使用phonegap创建了一些移动应用程序,并且我使用了jquery mobile,纯粹是因为控件外观漂亮,但主要是因为它具有漂亮的changePage功能。 I like to have multiple html documents to break up the code, and with over 10 separate screens i think it keeps the code tidier. 我喜欢有多个html文档来分解代码,并且有超过10个单独的屏幕,我认为它使代码更加整洁。

Can anyone tell me, how to normally changePage with a nice "slide" animation without using JQuery mobile, using multiple html pages. 任何人都可以告诉我,如何通过一个漂亮的“幻灯片”动画正常更改页面,而不使用JQuery移动,使用多个HTML页面。 Is this possible? 这可能吗?

I will still be using JQuery, but i would like to use something like chocolateUI or twitter bootstrap for the design of the controls. 我仍然会使用JQuery,但我想使用像chocolateUI或twitter bootstrap这样的控件设计。

Any examples would be much appreicated, i have tried googling this but all the results say "how to change page with JQuery Mobile" and i do not want this. 任何例子都会很有用,我试过谷歌搜索,但所有的结果都说“如何用JQuery Mobile改变页面”,我不想要这个。

Thanks in advance 提前致谢

Maybe you could start working with Ionic Framework: 也许你可以开始使用Ionic Framework了:

http://ionicframework.com/ http://ionicframework.com/

It's works with AngularJS, and has the functionality you are looking for. 它适用于AngularJS,并具有您正在寻找的功能。 It also works great with jQuery. 它也适用于jQuery。

I've build a couple of apps with it myself and I'm still really fond of it! 我自己用它构建了几个应用程序,我仍然非常喜欢它!

There are other frameworks like: 还有其他框架,如:

Hope it helps! 希望能帮助到你!

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM