3
クリックしてモバイル画面のモバイル方向を変更する方法は?肖像画と風景のように見える?jQuery/javascriptでモバイル画面を回転
クリックしてモバイル画面のモバイル方向を変更する方法は?肖像画と風景のように見える?jQuery/javascriptでモバイル画面を回転
あなたは向きを変更する-webkit-transform
(CSS)プロパティを使用することができます。http://www.noupe.com/design/html5-screen-orientation-api-uses-javascript-:
if(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
$('body').css({
"-webkit-transform": "rotate(90deg)"
});
}
はこれを見てscreen-rotate-the-screen-89639.html –
これも参考になるかもしれません:http://stackoverflow.com/questions/14360581/force-landscape-orientation-mode – Pete