title: JQuery Mobile Redirect Help
body: <p>This site is not redirecting to the .mobi site. Is that because the redirect script is not at the top of the "head" and is conflicting with the other scripts that are being called first? Any suggestions? Other people seem to say it just needs to be in the head area. That is not working though.</p>
  
  <p>The hosting company entered the code, but put it at the bottom. Do you think that this is why it's not redirecting? I asked them to put it there and I guess they forgot. Before I ask them to do it again, I wanted some input on whether this could be causing the problem?</p>
  
  <pre><code>&lt;head&gt;
  &lt;!-- SW3 --&gt;
  
  &lt;title&gt;Rosenhouse Group, PC, a professional tax and accounting firm in Dallas, Texas&lt;/title&gt;
  
  &lt;script type="text/javascript" language="javascript" src="/menu.js"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
  adroll_adv_id = "7LYERGMOVZEPTB3B62NLZD";
  adroll_pix_id = "KN5CT4JO5NEKLEGKBSHDQF";
  (function () {
  var oldonload = window.onload;
  window.onload = function(){
     __adroll_loaded=true;
     var scr = document.createElement("script");
     var host = (("https:" == document.location.protocol) ? "https://c.adroll.com" : "http://c.adroll.com");
     scr.setAttribute('async', 'true');
     scr.type = "text/javascript";
     scr.src = host + "/j/roundtrip.js";
     document.documentElement.firstChild.appendChild(scr);
     if(oldonload){oldonload()}};
  }());
  &lt;/script&gt;
  &lt;meta http-equiv="content-type" content="text/html; charset=utf-8"&gt;
  &lt;link rel="icon" type="image/ico" href="favicon.ico"/&gt;
  &lt;script src="js/jquery-latest.js" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script type="text/javascript"&gt;
      $.noConflict();
  &lt;/script&gt;
  &lt;meta name="keywords" content="Rosenhouse Group, PC, L. Minton Rosenhouse, CPA, Dallas, Texas, 75252-5897, , , , , , , , , , , , , , , , , , , , , , , , , "&gt;
  
  &lt;meta name="author" content="Emochila Website Design for CPAs Lawyers and Dentists"&gt;
  
  &lt;meta name="description" content=""&gt;
  &lt;link rel="stylesheet" href="sb/cssfile.jsp?decider=mrosenhouse&amp;amp;content=1500" type="text/css"&gt;
  &lt;script type="text/javascript"&gt;// &lt;![CDATA[
  
  var mobile =
  
  (/iphone|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.user
  
  Agent.toLowerCase()));
  
  if (mobile) {
  
  document.location = "http://www.cpadallas.mobi";
  
  }
  
  // ]]&gt;&lt;/script&gt;
  
  
  
  &lt;meta name="google-site-verification" content="Fl04TuB3stq95hUqds8jcKHuWRjxeCjO8orCnSn1SyY" /&gt;
  &lt;/head&gt;
  </code></pre>