Just a simple question. - Post ID 256234

User 455115 Photo


Registered User
19 posts

If I don't want a certain of my webpages to reach people mobile devices but desktop only, Is there any code to put in the page? Thanks
User 10077 Photo


Senior Advisor
1,038 posts

Vu Wuy wrote:
If I don't want a certain of my webpages to reach people mobile devices but desktop only, Is there any code to put in the page? Thanks

Are you wanting to actually block mobile users from seeing certain web pages or just keep the web page from adjusting (responding) to mobile users?
How-To Instructions for Coffeecup Users (tutorials, examples, and downloads)
http://usconsumernet.net/help-for-coffe … -users.php

Personal & Specialized Help for Coffeecup Users
Email me at cchelp@uscni.org or call 865-687-7698
User 455115 Photo


Registered User
19 posts

I actually want to block mobile users from seeing certain web pages.
Thanks
User 187934 Photo


Senior Advisor
18,713 posts
Online Now

<script>
if (screen.width <= 1024) window.location.replace("http://www.example.com/1024.html")
else window.location.replace("http://www.example.com/index.html")
</script>
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

Here's my S-Drive site with
examples of what can be accomplished in VSD.
https://progrower.coffeecup.com/
Here's my CoffeeCup SCCP Shop with examples of what can be done.
https://progrower.coffeecup.com/shop/
This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.