Does anybody of u know how to print the content of an iFrame? The Content of the iFrame is just another HTML Page!!!
Thanx and Cheers,
Sepp
Thanx and Cheers,
Sepp
<a href="#" onClick="print(); return false;">click here to print this page</a>
[size=1]<script type="text/javascript"> function zPrint(oTgt) { oTgt.focus(); oTgt.print(); } </script> . . . <body> <iframe name="myFrame" id="myFrame" width="600" height="400" src="about:mozilla></iframe> <input type="button" value="Print IFRAME" onclick="zPrint(myFrame);" /> </body>[/size]
[size=1]<script type="text/javascript"> function zPrint(oTgt) { oTgt.focus(); oTgt.print(); } </script> . . . <body> <iframe name="myFrame" id="myFrame" width="600" height="400" src="about:mozilla></iframe> <input type="button" value="Print IFRAME" onclick="zPrint(myFrame);" /> </body>[/size]
Comment