0
  • 我想使用 jQTouch 为大型网站构建 iPhone 应用程序。搜索它时,我了解到我必须编辑网站的 HTML 代码以适合我的应用程序,如何在不与我的网站样式冲突的情况下做到这一点?

  • 另外,使用 jQTouch 的基本步骤是什么?只需在此处添加脚本和初始化:http ://code.google.com/p/jqtouch/wiki/GettingStarted 。

非常感谢帮助我。

4

3 回答 3

2

Unless you are extremely lucky, you won't be able to use the same markup for both your normal and jqTouch sites. Your site is likely not a single page application based off of hashed urls.

To get started using jqTouch I'd suggest loading up the demo and editing things in and out of the demo. That will give you the best jump-start into how everything works.

于 2010-05-15T17:31:20.857 回答
0

一个很好的想法是检测 iPhone 服务器端,然后发送不同的 HTML,其中包含所有 jQTouch 优点,并且排除您的原始样式。

于 2010-05-15T17:02:03.130 回答
0

Jakub 的建议是您无需制作 iPhone 应用程序的最佳答案。但根据经验,我还建议您考虑应用程序的性质。基本上决定你的服务是否是用户一想到它就会让他们想要打开 safari 的东西。

如果不是,我建议您需要考虑制作一个合适的应用程序而不是启用 jQtouch 的网站。

这主要是因为人们总是喜欢用捷径来完成任务。

如果您有竞争对手,他们只会在您发布并窃取您的客户后制作一个应用程序。

于 2010-05-15T17:11:59.280 回答