开发者

Get screen size?

What is the best way to design scr开发者_开发知识库een size, when develop mobile web app? Also how make it compatible all mobile browsers?

Thanks in advance, sri


Not all mobile browsers support JavaScript. You can use http://wurfl.sourceforge.net/ to get screen size as well as capabilities of device/phone on server side


You can use width option based on percent, thats the best way to develop applications and web-pages for mobile phones...

Also, if you are developing for iPhoneOS / Android based Devices (Or browsers based on WebKit framework), check this out, i think you will be interested: http://www.jqtouch.com/

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜