jQueryPlugins
jQueryPlugins copied to clipboard
Printing iframe in IE6
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.
Thanks, will take a look.