Created jQuery-Mobile site and it works great, but my desktop version is no longer visible
I created jQuery-Mobile site with Dreamweaver and it worked great, but my desktop version is no longer visible. Is there something I need to add to the code? This is the mobile site I created:
http://hendrickscountysso.com/mobile.html
This is the regular site:
http://hendrickscountysso.com/home.html
I had to put my regular page back out there because I cannot afford to not have the desktop version unavailable. What do I need to add so my desktop site will show up???
Below is the code for my index.html page :
function urlParam(name){
var results = new RegExp('[\\?&]' + name + '=([^&#]*)').exec(window.location.href);
if(results)
return results[1] || 0;
else
return '';
}
if(urlParam('view') == 'full'){
}
if(urlParam('view') == ''){
// <![CDATA[
var mobile = (/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()));
if (mobile) {
}
// ]]>
}