title: Popup to display if viewed on mobile
body: <p>I have a website that needs to redirect mobile users to a mobile site, however because of the sites being hosted in different places, I can't set the cookie to remember if they've been directed from the mobile site. Therefore there is a continuous loop.</p>
  
  <p>All I want to do now is display a popup if the user is viewing on a mobile, offering them the option to view the website on a mobile or cancel to view the full site.</p>
  
  <p>I know this will be possible in Javascript/jQuery, but I'm not sure how to go about it. </p>
  
  <p>Could anybody help me with this please?</p>
  
  <p>Thanks</p>