工作我做使用jQuery和CSS缩放图像:CSS变换比例尺没有IE
$('#Site img').css({
zoom: CurrentZoom,
'-ms-transform': 'scale(' + CurrentZoom + ')',
'-moz-transform': 'scale(' + CurrentZoom + ')',
'-o-transform': 'scale(' + CurrentZoom + ')'
});
$('#Site canvas').css({
zoom: CurrentZoom,
'-ms-transform': 'scale(' + CurrentZoom + ')',
'-moz-transform': 'scale(' + CurrentZoom + ')',
'-o-transform': 'scale(' + CurrentZoom + ')'
});
,但它的正常工作与除IE所有的浏览器。
ie版本应该是9或以上。 – Jai 2013-03-14 07:22:34
雅这是9,但我也尝试在旧版本。 – 2013-03-14 07:24:14
结帐'Modernizr'。 – Jai 2013-03-14 07:35:35