Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Javascript / Client Side Development

iFrame Print Issue (opposite of the usual request)


I have a page with an iframe used for wysiwyg editing. When the cursor
is in this iframe and you try to print, only the iframe is printed. Is
there a way to force it to print the entire page (not just the iframe
content) without resorting to a specific "print" button?

(I tried onbeforeprint to change the focus, but that seems to occur
too late.)

Wry-mouth a crit :

> I have a page with an iframe used for wysiwyg editing. When the cursor
> is in this iframe and you try to print, only the iframe is printed. Is
> there a way to force it to print the entire page (not just the iframe
> content) without resorting to a specific "print" button?

perhaps ...

<button onclick="top.print()">Print the whole page</button>

--
Stephane Moriaux et son (moins) vieux Mac dj dpass
Stephane Moriaux and his (less) old Mac already out of date

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc