2

Possible Duplicates:
How do I lock the orientation to portrait mode in a iPhone Web Application?
Force orientation on iPad - javascript

I have created webpage which I want to show user in iPad only in landscape orientation. I mean when user rotate iPad verticly it should still show landscape Is there any way to do it using JavaScript?

Thanks in advance.

Community
  • 1
  • 1
Bhavesh
  • 33
  • 1
  • 1
  • 6

1 Answers1

1

This has been asked before: How do I lock the orientation to portrait mode in a iPhone Web Application?

Summary: You can't "lock" it, but you can specifically target it, but also get notified if the device is in Portrait mode and display a message to the user.

Community
  • 1
  • 1
Shane O'Grady
  • 2,465
  • 18
  • 20