我有这个用于缩放内容的代码iframe
function SetZoom(){
var ZoomValue = 100;
try{
iframeDoc.body.style.zoom=ZoomValue+'%';
}catch(err){}
try{
iframe.body.style.OTransform = 'scale('+(ZoomValue/100)+')';
}catch(err){}
}
现在我需要模仿 iframe 的缩放,例如
iframe.style.width=(??????/ZoomValue)+'px';
iframe.style.height=(??????/ZoomValue)+'px';
不知道应该用什么代替???????
?