Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to ckeck and setting browser orientation?
#1
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?
Reply
#2
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".
Reply
#3
(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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)