Description
var whenReady = function { var funcs = ; var ready = false; function handlere { if ready return; if e.type === onreadystatechange && document.readyState !== complete { return; } for var i = 0; i < funcs.length; i ++ { funcsi.calldocument; } ready = true; funcs = null; } if document.addEventListener { document.addEventListener"DOMContentLoaded", handler, false; document.addEventListener"readystatechange", handler, false; window.addEventListener"load", handler, false; }else if document.attachEvent { document.attachEvent"onreadystatechange", handler; window.attachEvent"onload", handler; } return function whenReadyfn { if ready { fn.calldocument; } else { funcs.pushfn; } } } ; whenReadyfunction { browserRedirectgetInitialScale; }; function getInitialScale { var firstDivWidth = document.getElementsByTagName"div"0.style.width; var divWidth = parseIntfirstDivWidth; var layoutViewport = document.documentElement.clientWidth; return value = layoutViewport / divWidth; } function browserRedirectvalue { var userAgentValue = navigator.userAgent.toLowerCase; var isIpad = userAgentValue.match/ipad/i == "ipad"; var isIphoneOs = userAgentValue.match/iphone os/i == "iphone os"; var isMidp = userAgentValue.match/midp/i == "midp"; var isUc7 = userAgentValue.match/rv:1.2.3.4/i == "rv:1.2.3.4"; var isUc = userAgentValue.match/ucweb/i == "ucweb"; var isAndroid = userAgentValue.match/android/i == "android"; var isCE = userAgentValue.match/windows ce/i == "windows ce"; var isWindowsMobile = userAgentValue.match/windows mobile/i == "windows mobile"; var meta = document.getElementsByName"viewport"0; if isIpad || isIphoneOs || isMidp { meta.setAttribute"content", "width=device-width"; } else if isUc7 || isUc || isAndroid || isCE || isWindowsMobile { meta.setAttribute"content", "initial-scale=" + value + ", width=device-width"; } else { meta.removeAttribute"content"; } }
![](http://ae01.alicdn.com/kf/Sfd395568998246dea526830a0ace32e3T.jpg)
![](http://ae01.alicdn.com/kf/S27c96b958d124b9e9137cd5d1d561dabz.jpg)
![](http://ae01.alicdn.com/kf/S7c7cdf486a1d4281ad425543ff2112697.jpg)
![](http://ae01.alicdn.com/kf/Sa764dfc98c1f454fade29ff835439105B.jpg)
![](http://ae01.alicdn.com/kf/Sb960c49458d142ea973a007031fddfb3y.jpg)
![](http://ae01.alicdn.com/kf/S928b34c30a734b0e954a9e642e86518fi.jpg)
![](http://ae01.alicdn.com/kf/S07dbd2c41a21482a8a22678af82d1fc1D.jpg)
![](http://ae01.alicdn.com/kf/S0a04cde13233425c8fdcf781303cd255J.jpg)
![](http://ae01.alicdn.com/kf/H0a184402f2e146dd99576910cdd2b76eB.jpg)
![](http://ae01.alicdn.com/kf/Sc7d61881de6b4fa7a69ca72570955f350.jpg)
![](http://ae01.alicdn.com/kf/S5193bcdf42ff45db924b2c0096822e29q.jpg)
![](http://ae01.alicdn.com/kf/S2dd4ed503464428cab104a70e1bdb1341.jpg)
![](http://ae01.alicdn.com/kf/Sdb22fd68488649c588aa2c0532ef270cW.jpg)
![](http://ae01.alicdn.com/kf/Sedffbf2b1d1244ed829ef0764ae8c054W.jpg)
![](http://ae01.alicdn.com/kf/Sf4fd0f04cc554a3abf798b6bb892587dF.jpg)
![](http://ae01.alicdn.com/kf/H0040416d25784e909211b7b381abdd04M.jpg)
![](http://ae01.alicdn.com/kf/Sb2a62f80f3f14b9e81256662e1442b87D.jpg)
![](http://ae01.alicdn.com/kf/S08797ce2dcf54f599b13eb311eb1f9b2H.jpg)
![](http://ae01.alicdn.com/kf/S61936acaa860433f9d77fd046c033f471.jpg)
![](http://ae01.alicdn.com/kf/Sabc36673c06d46c68cd972f84d4abd70k.jpg)
![](http://ae01.alicdn.com/kf/Sfe85e41d6eaa454aab5fc9616c520ddb8.jpg)
![](http://ae01.alicdn.com/kf/S6699ab2a5a064b04a0c7968da14baeb10.jpg)
![](http://ae01.alicdn.com/kf/Se28a52cef9b84d1794fa6e55e3d3ee9d3.jpg)
Reviews
There are no reviews yet.