NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rupertvz on April 30, 2019, 01:36:52 PM

Title: IsMobile and Screen Size
Post by: rupertvz 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?
Title: Re: IsMobile and Screen Size
Post by: peterH 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