如何使用jQuery在Windows HTC iphone中设置方向. [英] how to Set orientation in windows HTC iphone using jQuery.

查看:71
本文介绍了如何使用jQuery在Windows HTC iphone中设置方向.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我所有的朋友!
问候..
我是Bhopal M.P.的Shashank实际上,我正面临一个问题,就是如何在Windows HTC iphone中设置方向.这三种情况分别是90,-90和0.

Shashank Kulshrestha
Web开发人员
博帕尔M.P.(印度)

Hi All my Friends!!
Greetings..
I am Shashank from Bhopal M.P. and currently newly develop to Iphone e-commerce Webstore.actually i am facing one issue the issue is that how to set orientation in windows HTC iphone. the three case are 90,-90 and 0.

Shashank Kulshrestha
Web Developer
Bhopal M.P.(India)

推荐答案

hi shashank,
您能解释一下您的问题吗,实际上所有移动设备都只能自行改变方向,浏览器也可以做到这一点,这是Web开发人员应该注意的唯一事情:他们应该使用流畅的布局来获得可靠的UI.

如果您不会根据当前设备的方向加载CSS,则可以使用CSS3媒体查询

hi shashank,
can you explain your problem actually all mobile device change orientation by it self only and browser also do the same the only thing web developer should take care : they should use fluid lay out for robust UI.

and if you wont to load css according to current device orientation then you can use CSS3 media query

http://blog.cloudfour.com/ipad-orientation-css/



还要检查
http://css-tricks.com/the-perfect-fluid-width-layout/ [ ^ ]



also check
http://css-tricks.com/the-perfect-fluid-width-layout/[^]


嗨vyas_pratik20684

感谢您的回复...

如您所建议的 CSS3媒体查询.我的任务已成功完成.谢谢
Hi vyas_pratik20684

Thanks for reply...

as you suggest CSS3 media query.my task is successfully completed. Thanks


这篇关于如何使用jQuery在Windows HTC iphone中设置方向.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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