/* 2016/03/23 09:37 1. JQM 기본 페이지이동을 Ajax 가 아닌 물리적 페이지 이동 방식으로 전역 정책 설정한다. 2. search-Result 등 ajax 이동효과가 필요한 경우, -jqmAddedPages.inc 에 #popUpPage 등 팝업 코드를 인젝트해줄 곳이 있다. -$("#popUpPage").append("
"); 이렇게 div 엘리먼트를 append 해주고, -$("#"+___id).load( function()...... ) 메서드로 html 코드를 인젝트 해주고 -$.mobile.changePage('#', 'pop', true, true); 이렇게 팝업 트리거를 작동... */ $(document).bind("mobileinit", function(){ $.mobile.ajaxEnabled = false; $.mobile.ajaxLinksEnabled = false; $.mobile.ajaxFormsEnabled = false; }); /* 디바이스에 따라 각각의 CSS 호출이 필요하다. 디바이스 종류 판독... */ /* var deviceAgent = navigator.userAgent.toLowerCase(); var agentID = deviceAgent.match(/(iphone|ipod|ipad|android)/); var usingDevice = ""; if(agentID.indexOf("iphone")>=0) { usingDevice = "iphone"; } if(agentID.indexOf("ipod")>=0) { usingDevice = "ipod"; } if(agentID.indexOf("ipad")>=0) { usingDevice = "ipad"; } if(agentID.indexOf("android")>=0) { usingDevice = "android"; } */