开发者

iframe printing problem (safari)

I am trying to print an iframe with this function:

   function printIframe(id) {

      iframe = document.frames ? document.frames[id] : document.getElementById(id);
      ifWin = ifra开发者_如何学运维me.contentWindow || iframe;
      iframe.focus();
      ifWin.printPage();

   }

This code successfully prints iframes in all browsers. The problem is that safari will not print some images. Some images will print, whereas others will just print blank spaces.

Has anyone ran into this problem before?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜