How to find out whether screen is a mobile device?

Just starting out? Need help? Post your questions and find answers here.
es_91
Posts: 36
Joined: Sat Aug 29, 2015 10:25 pm

How to find out whether screen is a mobile device?

Post by es_91 »

Hi

Does SpiderBasic feature a way to find out the screen orientation and sizing preferences (like dpi scale) of the host device?

Greetings

es_91
:mrgreen:
es_91
Posts: 36
Joined: Sat Aug 29, 2015 10:25 pm

Re: How to find out whether screen is a mobile device?

Post by es_91 »

Thank you, tj, much appreciated since that does it.

Feature request for this is in the making.

//btw
i can easily handle this method inside an inline alert box but how to use the devicePixelRatio with a SpiderBasic variable to further work with it? (inline noob question)
:mrgreen:
Post Reply