Sergio Sergio - 1 year ago 174
Javascript Question

Change orientation on Phonegap JQuery mobile

Hi i write simple app using jqm and phonegap, and i have some problem with change orientation. I need to change orientation on one page. I can change values "Supported interface orientations" but it work on all pages, may be exist way to change orientation on one page ?

Answer Source

You can use this plugin.

To lock the screen to Landscape:


To lock the screen to Portrait:


To unlock:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download