通过JQuery Mobile构建桌面应用程序 [英] Building Desktop apps by JQuery Mobile

查看:143
本文介绍了通过JQuery Mobile构建桌面应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想为桌面计算机创建一个应用程序。

I want to create an application for desktop computers.

我想使用JQuery Mobile的强大功能。

And I want to use the Power of JQuery Mobile.

但默认情况下,JQuery会在一行中添加每个控件。它在手机中看起来不错,如下图所示:

But by default, JQuery adds each control on a row. it looks nice in a mobile phone, like the image below:

但在大屏幕中它会很难看:

But it will be ugly in big screens:

我的问题是:是有没有办法用JQuery Mobile设计应用程序,多列样式?

如何使用JQuery Mobile创建水平滚动应用程序?(我的意思是,就像windows 8 metro应用程序在页面中没有垂直滚动。它们在页面中有水平滚动)

And how to create Horizontally scroll applications with JQuery Mobile? (I mean, just like windows 8 metro apps that don't have vertical scroll in pages. they have horizontal scroll in pages)

推荐答案

jQuery Mobile也适用于桌面。只需使用网格来构建您的内容。

jQuery Mobile works very well with desktop, too. Just use a grid to structure your content.

我认为jQuery Mobile的真正优势迟早会是,你只需要写一次就可以在每台设备上部署,从桌面到平板电脑再到智能手机到随你。虽然有一些方法可以用于jQuery Mobile,但这将是我希望它发展的方向。

I think the real advantage of jQuery Mobile will sooner or later be, that you only need to write something once and can deploy on every device from desktop to tablet to smartphone to whatever. Although there is some way to go for jQuery Mobile, this would be the direction I would want to it develop into.

有一堆水平滚动插件可用。尝试JQuery Mobile pagaintion 页面, photoswipe 图片或推翻内容。

There are a bunch of horizontal scroll plugins available. Try JQuery Mobile pagaintion for pages,photoswipe for images or overthrow for content.

这篇关于通过JQuery Mobile构建桌面应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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