Correct width for tablets via JS script?

Hello, trying to get a little better handle on how this works…

For several years now I have been building two websites for business sites, rather than one responsive one. The second one is a version of the main website, but made for smartphones and I use a .mobi domain for those. As far as SEO goes, this is far better than having one site because both Bing and Google rank the two sites separately and many times I will see both of the domains listed in the first pages of search results! (Bingo!)

This is the typical JS script that I’ve been using:

The problem is that it does not work for tablets and I am thinking about adding a third website for tablet sized devices. So what would be the correct “screen.width” to plug into this script to get the same results on tablets? Most all of my desktop sites are 960 pixels wide, but I am thinking about making my new sites at 1200 pixels wide.

Also should I trim down the width of my “.mobi” script any?

TIA,

Robert


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Just create a responsive site and ditch the separate versions. And regarding the 1200px width … that’s quite the stardard for the last couple of years, so you’re okay there. But when you’re building responsive, you’ll just have to apply a certain max-width and that’ll be all.

– Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

But the whole point is that I do not want to make responsive websites, but rather a separate .mobi domain for the smartphones and maybe even another for the tablets.

Like I said previously the search engines consider each to be worthy to be ranked and I have seen search query results where I have both version on the first page of results. Plus I think it is a rare thing to find a responsive website that truly looks good and functionable on both a smartphone and a desktop.

Each version can have its own uniqueness that fits the format better than a single website can, I think.

Rather than trying to figure out how to make Freeway Procreate a responsive website, I rather put that time into learning Adobe’s Animate, which is probably the future of HTML5 animation.

I need to get onto a few tablets to see what’s up, as I have never used one before.

Thanks,

Robert

On Jul 3, 2017, at 2:37 PM, Richard van Heukelum email@hidden wrote:

Just create a responsive site and ditch the separate versions. And regarding the 1200px width … that’s quite the stardard for the last couple of years, so you’re okay there. But when you’re building responsive, you’ll just have to apply a certain max-width and that’ll be all.

– Richard


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options

Robert Mitton
Organic SEO Specialist
Custom Mobi Websites
email@hidden
303 South Broadway, B353
Denver, CO 80209
cell phone (720) 435-9205

***** Disclaimer *****
This communication may be monitored and collected without consent, in secret, by the NSA, in likely violation of the Constitution of the United States of America. If you find this policy by the NSA reprehensible, please contact your government representatives and let them know.


freewaytalk mailing list
email@hidden
Update your subscriptions at:
https://freewaytalk.softpress.com/person/options