Jquery Mobile - 我可以在现有布局中使用它吗? [英] Jquery Mobile - Can I use it with existing layout?

查看:91
本文介绍了Jquery Mobile - 我可以在现有布局中使用它吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个我非常喜欢的网站模板,但我想使用一些jquery手机功能,例如他们的页面转换。我可以使用我现有的网站模板和jquery移动框架而不做任何广泛的事情吗?当前模板是用html5和jquery一起制作的。

I have a web site template that I really like but I want to use some of jquery mobiles functionality such as their page transitions. Can I use my existing website template along with jquery mobile framework without doing anything extensive? The current template is made with html5 in mind along with jquery.

Jquery Mobile我指的是:

Jquery Mobile Im referring to is here:

http://jquerymobile.com/

推荐答案

HTML5和jQuery几乎兼容迁移到jQuery移动方案。如果您的控件不够复杂,无法用手指操作。

HTML5 and jQuery are pretty much compatible for migration to a jQuery mobile scenario. If your controls are not complicated enough to be unworkable with fingers.

只要您确保简化内容以便用户看不到巨大内容,您就应该没问题。正常屏幕上的内容负载。 (但是请让用户选择访问普通网站。)

You should be fine as long as you make sure you simplify the content so users don't see a huge loads of content as they would on a normal screen. (But do give users the option of visiting the normal site).

尽量减少发送图像和视频的费用。

Try to minimise sending images and videos down the line.

如果您使用外部API,有时他们需要其服务的替代安排才能在移动设备上运行。所以研究那些。

If you use external API's, sometimes they need alternative arrangement for their service to work on a mobile device. So study those.

最后,如果你阅读本文件

这篇关于Jquery Mobile - 我可以在现有布局中使用它吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆