iFrame Print Issue (opposite of the usual request)

W

Wry-mouth

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.)
 
A

ASM

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>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,024
Latest member
ARDU_PROgrammER

Latest Threads

Top