工作我做使用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