开发者

Where should I start looking for a way to get a jumpstart on making a mobile design of my Rails 3 application?

Other than Google ;-) I have a Rails 3 application that allows users to drill-down by product category and subcategory to list products. There is a detailed product page that contains multiple images and lots of information. I will be "dumbing it down" significantly for the mobile site, but I'm not sure where to get star开发者_运维百科ted. Any help from anyone who has mobile-enabled a Rails application is deeply appreciated.

I make pretty heavy use of jQuery also in my app, and am willing to include it in the mobile app if necessary.


Jquery mobile just went into beta 1 a couple days ago. It's worth checking out in my opinion.

http://jquerymobile.com/


If by 'mobile' you mean modern mobile browsers like Mobile Safari, then all you should need to do is to edit the CSS stylesheets to make the site look and fit better on a smaller screen (see 'responsive design').

Getting images to be responsive to a mobile environment is a little trickier. If they're not too big, or performance isn't a massive issue, then you could simply downscale them for the mobile browser.

Alternatively, there are a few other tricks to server smaller images to mobile browsers, and bigger ones to bigger screens - do some Googling for "responsive images" and you'll soon discover them.


I use JQTouch, JQTouch with Rails

To mimick the look and feel of a native app

BMXMDB

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜