NetTalk Central

Author Topic: IsMobile and Screen Size  (Read 2911 times)

rupertvz

  • Sr. Member
  • ****
  • Posts: 314
    • View Profile
    • Email
IsMobile and Screen Size
« on: April 30, 2019, 01:36:52 PM »
Hi Guys,

Now that "IsMobile" is no longer supported in NetTalk 11 ...

Is there a way to have a condition in an xHTML routine, only to display on desktop workstations?

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: IsMobile and Screen Size
« Reply #1 on: May 01, 2019, 12:16:58 PM »
Use CSS, ie wrap your code in a div like this:

<div class="if-not-small">
  ...
  your code here
  ...
</div>

Peter