|
Well, you don't need the focus(), then the print(), you can just target the frame and use print() like in my example. I tried with the focus and on some browsers it printed the wrong frame when added to a button.
How wide, in pixels, is the bottom frame? If it's bigger than 550px or so it can run off the printed page on some browsers. Can I see the actual page you're working on? Can you post it somewhere to see?
Another thing is to tweak your CSS for printing, adding some print-specific style sheets for that frame may help, but once again, I can't tell without seeing the page you're talking about.
|