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/Sefcbcf0b1ad14fb39ed9e1183f42982dw.jpg)
![](http://ae01.alicdn.com/kf/S9ba7808662b6420ea213e740cf26d6aav.jpg)
![](http://ae01.alicdn.com/kf/Sb7e5eb7905eb48c49f52e2bd39278847U.jpg)
![](http://ae01.alicdn.com/kf/S9870e73f2be04de1a62798ea7a0272fau.jpg)
![](http://ae01.alicdn.com/kf/S66276692071848759020238f3604efdaf.jpg)
![](http://ae01.alicdn.com/kf/S073097a83cd84afca8d4655786a9e857k.jpg)
![](http://ae01.alicdn.com/kf/S3f6880e864004816b5bd5b62db7d2ca9s.jpg)
![](http://ae01.alicdn.com/kf/H924db43438cd4ca28d149f9ddcf59fd2R.jpg)
![](http://ae01.alicdn.com/kf/Sc584505eb30142f38fd2df9ca78577afX.jpg)
![](http://ae01.alicdn.com/kf/S10e7c7ee72b243b2b817d7350036f3edw.jpg)
![](http://ae01.alicdn.com/kf/S41396def478b4e7a8e7fb7d0a1626eb9u.jpg)
![](http://ae01.alicdn.com/kf/Sa868dd3e93664df8826008032a385a7ck.jpg)
![](http://ae01.alicdn.com/kf/S31df9974c26a445fab8937c5f2d0ee45o.jpg)
![](http://ae01.alicdn.com/kf/S74c58339b2e04e9d8b0f186c5ce0f6847.jpg)
![](http://ae01.alicdn.com/kf/H0040416d25784e909211b7b381abdd04M.jpg)
![](http://ae01.alicdn.com/kf/S3e93187d8d0c451fae212b20b2484353Y.jpg)
![](http://ae01.alicdn.com/kf/S38e75bdceb404144b83ada59181d113df.jpg)
![](http://ae01.alicdn.com/kf/S8345c8d98bcc4968a3553d527306ef12J.jpg)
![](http://ae01.alicdn.com/kf/S016d9a11c7b145e7977306766eaac40dL.jpg)
Reviews
There are no reviews yet.