Page 1 of 1

Preserve browser orientation on mobile devices

Posted: Tue Nov 26, 2019 1:42 am
by krylon
Hello everyone,

Is it possible to ensure the browser orientation stays the same on mobile devices no matter how enthusiastically the user flips their device around?

Thanks!

Re: Preserve browser orientation on mobile devices

Posted: Tue Nov 26, 2019 2:03 am
by JS-Support @Userware
Hi,

Adding to the following line to the <header> section of the file "index.html" should do the job:

Code: Select all

<meta http-equiv="ScreenOrientation" content="autoRotate:disabled">


Regards
JS-Support