开发者

using jQTouch for large website

  • I want to use jQTouch to build iPhone app for large website. When searched for it, I understood that I must edit my HTML code for website to be Suitable to my app, how I can do this without conflict with the style for m开发者_JS百科y website?

  • Also, what is the basic steps to using jQTouch ? just Add scripts and Initialize as here : http://code.google.com/p/jqtouch/wiki/GettingStarted .

help me with many thanks.


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.


A pretty good idea is to detect the iPhone server-side and then send different HTML with all the jQTouch goodness included and your original style excluded.


What Jakub suggests is the best answer for you without getting into making an iPhone App. But from experience I also suggest you think about the nature of your application. Basically decide whether your service is something that mentally as soon as the user thinks about it makes them want to open safari.

If not I would suggest you need to consider making a proper app rather than a jQtouch enabled website.

This is mainly because people always prefer the short way to achieve tasks.

And if you have competitors they will just simply make an app after you release and steal your customers.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜