Mobile version redirect

Hi guys, I am working with CMS and have no access to a head of html.
I am trying to redirect viewers to a mobil version of a site and this is the javascript it seems to be a more common way to solve it- it has to be in a head portion though:

<script type= "text/javascript" >
<!--
if (screen.width <= 699) {
document.location = "YOUR-MOBILE-SITE.com" ;
}
//-->
`
I, unfortunately, don’t have access to the head of html and can’t insert this script. Customer support says I need to append to the head of the document through the html body.
Does anybody know another way to make this java work in the body?
Or how to append to a head through the body?

Any help is much appreciated!

Your best bet is to make a responsive design site that works across all platforms (desktop, mobile, tablet) instead of trying to maintain two sets of code.

V/r,

^ _ ^

5 Likes

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.