jQueryPlugins icon indicating copy to clipboard operation
jQueryPlugins copied to clipboard

Printing iframe in IE6

Open sradoff opened this issue 14 years ago • 1 comments

Printing iframe with FF works perfectly. An example of the code I am using is as follows:

$('#idDisplay_Iframe').printElement({overrideElementCSS: ['layout.css']});

When I execute with IE6 I see a flash of activity but the print dialog does not appear.

I find I have to use printMode: 'popup' to work. The following code works both for FF and IE6:

$('div#idDisplaySection').printElement({ leaveOpen:true, printMode: 'popup', overrideElementCSS: ['layout.css'] });

div#idDisplaySection wraps #idDisplay_Iframe. I also find with IE6 that it is necessary to leaveOpen: true.

sradoff avatar Apr 23 '11 12:04 sradoff

Thanks, will take a look.

erikzaadi avatar Apr 23 '11 12:04 erikzaadi