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

No members online now.

Forum statistics

Threads
473,763
Messages
2,569,563
Members
45,039
Latest member
CasimiraVa

Latest Threads

Top