DHTML Forum  

Go Back   DHTML Forum > dhtmlcentral.com > Crossbrowser DHTML
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 14.02.2006, 14:55
stranger26 stranger26 is offline
Neuer Benutzer
 
Join Date: 14.02.2006
Location: Germany
Posts: 2
Default

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

All times are GMT +2. The time now is 07:56.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.