Can Different Files Be Included On Mobile

This forum allows users to post and respond to "How Do I Do ....." questions. The information contained in this forum has not been validated by K-Rise Systems and, as such, K-Rise Systems cannot guarantee the accuracy of the information.
Post Reply
JefferyD
Posts: 177
Joined: August 31st, 2021, 11:37 am
Contact:

Can Different Files Be Included On Mobile

Unread post 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?
Last edited by JefferyD on March 15th, 2022, 5:19 pm, edited 1 time in total. word count: 31

Tags:
SteveCap
Posts: 327
Joined: August 26th, 2021, 9:18 am
Contact:

Re: Can Different Files Be Included On Mobile

Unread post 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
word count: 65
Post Reply