Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Building Desktop apps by JQuery Mobile

I want to create an application for desktop computers.

And I want to use the Power of JQuery Mobile.

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

enter image description here

But it will be ugly in big screens:

enter image description here

My question is: Is there any way to design application with JQuery Mobile, multi-column style?

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)

like image 921
Mahdi Ghiasi Avatar asked Jun 28 '12 08:06

Mahdi Ghiasi


1 Answers

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

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.

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

like image 100
frequent Avatar answered Oct 07 '22 01:10

frequent