網頁縮放zoom用法:css
function zoomhtml(){
var wid=$(window).width(),len;
if(wid<1600){
len=wid/1600;
console.log(wid)
$("html").css("zoom",len);
$("html").css({"-moz-transform":"scale("+len+")"},{"-moz-transform-origin":"0 0"});
}
};
zoomhtml();html