![]() |
|
#1
|
|||
|
|||
|
Hi,
I have a curious problem. I have a page with two iFrames on it. In the main Window (parent) I have a button with wich I want the user to be able to print the content of one of the iFrames (in my case, dealer adresses). To get IE and Firefox to work I have pasted together the following ("ausgabe" is the NAME and ID of the iFrame): function CheckIsIE() { if (navigator.appName.toUpperCase() == 'MICROSOFT INTERNET EXPLORER') { return true;} else { return false; } } function PrintThisPage() { if (CheckIsIE() == true) { document.ausgabe.focus(); document.ausgabe.print(); } else { window.parent.ausgabe.focus(); window.print(); } } This works so far. BUT BUT BUT !!! Opera won't do anything. I have managed to get Opera to at least print, but it is the current window without ANY content without even the hint of there ever having been an iFrame. Does anyone have a clue of how to tell Opera to print the content that is currently being displayed in my iFrame ?? Thanks. |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|