Atozed Forums
How to ckeck and setting browser orientation? - Printable Version

+- Atozed Forums (https://www.atozed.com/forums)
+-- Forum: Atozed Software Products (https://www.atozed.com/forums/forum-1.html)
+--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html)
+---- Forum: English (https://www.atozed.com/forums/forum-16.html)
+----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html)
+----- Thread: How to ckeck and setting browser orientation? (/thread-1284.html)



How to ckeck and setting browser orientation? - newsanti - 10-03-2019

Webapplication.Browser properties provided information :
-IsMobile
-device information Detection: iPhone iPad or android or windows or macOS

How to check browser orientation portrait or landsacpe?
How to setting browser orientation for fix display with mobile or tablet?


RE: How to ckeck and setting browser orientation? - kudzu - 10-03-2019

Browsers dont have landscape or portrait orientation. What you can do is check the width and height which are also supplied. If width > height then you can assume "landscape".


RE: How to ckeck and setting browser orientation? - newsanti - 10-03-2019

(10-03-2019, 02:11 PM)kudzu Wrote: Browsers dont have landscape or portrait orientation. What you can do is check the width and height which are also supplied. If width > height then you can assume "landscape".
Thanks.