Jquery移动与phonegap不适合移动应用程序的样式 [英] Jquery mobile with phonegap is not styling properly for mobile app
问题描述
我想说的是我解决了这个问题,但是如果其他人也有同样的问题,我想在这里发布。
I'd like to say that I solved the problem but I wanted post this here as a reference if anyone else is having the same problem.
已遵循本教程: http://wiki.phonegap。 com / w / page / 41524872 / JQuery%20Mobile%20Tutorial%20(iOS )
将jquery mobile整合到我的应用程序中。 jquery库是1.7.2。
to incorporate jquery mobile into my application. I am using the latest jquery library which is 1.7.2.
我无法得到教程中显示的结果样式,行为,无法正常工作。
I can't get the outcome shown in the tutorial. Styling, behaviour, nothing works properly.
推荐答案
结果jquery mobile不支持最新的jquery库。
Turns out jquery mobile doesn't support the newest jquery library.
使用jquery 1.6.1,一切开始看起来和行为如教程中所示的为什么它不兼容旧版本是超出我的。我可能应该一步一步,但老实说,我认为较新的版本的jquery应该是更好和向后兼容。
As soon as starting to use jquery 1.6.1, everything started to look and behave as shown in the tutorial. Why it is not compatible with an older version is beyond me. I probably should've followed the tutorial step by step but honestly, I thought newer versions of jquery are supposed to be better and backwards compatible.
这篇关于Jquery移动与phonegap不适合移动应用程序的样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!