jqtouch 网站在 Android 中无法正常工作
我使用jqtouch开发了一个移动网站。它在 iPhone 中运行良好,但在 Android 中不起作用。
首先,页面在 Android 中正确加载,但是当我们滚动时,它不会在屏幕上显示任何内容。但我可以单击链接并且它可以正确导航。因此,我假设屏幕上有文本但未显示。
我确实查看了谷歌代码中发布的问题,他们说这是透明 gif 的问题并建议使用 base64 值。我尝试过,即使那样它也不起作用。
有什么建议吗?
谢谢。
I developed a mobile website using jqtouch. It works fine in iPhone but doesnt work in android.
First the page loads properly in android but when we scroll then it doesnt display anything on the screen. But I am able to click on links and it navigates properly. So am assuming that there is text on the screen but its not getting displayed.
I did look at issues posted in google code where they said that its the problem with transparent gif and suggested to use base64 value. I tried that, even then its not working.
Any suggestions?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为你需要一种有效的方法来在Android浏览器上调试jqt。如果您还没有这样做,这里有一些您应该测试页面的其他方法:
adb logcat
在 Android 模拟器上进行测试。这是一篇描述如何在 Android 浏览器中调试页面的文章:我怎样才能在 Android 上调试 javascript?。I think you need an effective way to debug jqt on Android browser. Here are a couple of other ways you should test the page, if you have not done so:
adb logcat
. Here is a post describing how you can debug pages in an Android browser: How can I debug javascript on Android?.我遇到了问题并修复了它 http://html5help.wordpress.com/2011/09/19/fix-jumpy-and-blinky-page-transitions-in-jqtouch/
I had the problem and fixed it http://html5help.wordpress.com/2011/09/19/fix-jumpy-and-blinky-page-transitions-in-jqtouch/
关于这一点还有一个说明。从他们的网站下载 jQTouch 相当落后。最好从 GitHub 获取 jQTouch:https://github.com/senchalabs/jQTouch
(或者,如果您想要一些还允许固定页眉和/或页脚以及其间滚动区域的内容,请尝试 DataZombies 分支: https ://github.com/DataZombies/jQTouch)。
Just another note on this. The jQTouch download from their website is quite behind. It's a great deal better to get jQTouch from GitHub: https://github.com/senchalabs/jQTouch
(or if you want something that also allows for fixed headers and/or footers and scrolling areas in between, try the DataZombies fork: https://github.com/DataZombies/jQTouch).