function browserCheck(){ var browserCheckText = new Array('iPhone', 'iPod', 'BlackBerry', 'Android', 'Windows CE', 'LG', 'MOT', 'SAMSUNG', 'SonyEricsson'); for (var word in browserCheckText){ if(navigator.userAgent.toUpperCase().match(browserCheckText[word].toUpperCase()) != null){ location.href = "<%=ctxPath%>/jsp/mobile/mobile.jsp"; break; } } }
댓글 없음 :
댓글 쓰기