View Full Version : Print another frame???
nickss
06-27-2002, 09:29 AM
In the frame1 (name=footer) I want a text-link to print the content of the frame2 (name=main). I know the command: self.print() but this prints only the frame1.
Please tell me the correct command if it is possible.
Roelf
06-27-2002, 09:49 AM
try parent.main.print()
Zvona
06-27-2002, 10:53 AM
To ensure printing right frame, I suggest:
parent.frameName.focus();
parent.frameName.print();
nickss
06-27-2002, 01:20 PM
Originally posted by Roelf
try parent.main.print()
I also tried this, but it doesn't work. The next answer in this thread is is the right answer. Thanks.
nickss
06-27-2002, 01:21 PM
Originally posted by Zvona
To ensure printing right frame, I suggest:
parent.frameName.focus();
parent.frameName.print();
Hi Zvona, it works fine. Thank you!
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.