Page 1 of 1

Can Different Files Be Included On Mobile

Posted: January 26th, 2022, 6:15 pm
by JefferyD
If I wanted specific JS or CSS files to be excluded or included when the website is viewed on a mobile device, then is there a good way to do that?

Re: Can Different Files Be Included On Mobile

Posted: January 27th, 2022, 11:56 am
by SteveCap
There are a number of different ways you can accomplish this. You can use the EASYProcess custom HTML tags to hide/unhide sections of the page based on device type. You can also use a service named GetContext to find device type and change logic based on that as well. See the following posts for more information.
viewtopic.php?t=65
viewtopic.php?t=66