Alex Rivera | Logout

Blocking device rotation on mobile web pages

Asked 2010-08-17T10:37:49.043
71

Is it possible to detect on my page, for example using Javascript, when user visit it using mobile device in portrait mode, and stop orientation changing when user rotate its phone to landscape? There is game on my page, optimized for portrait display only and I don't want it in landscape.

Edit
Report

1 Answer

0
answered 2010-09-01T00:59:38.440

Your Answer