faqts : Computers : Programming : Languages : JavaScript : Frames

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

142 of 187 people (76%) answered Yes
Recently 5 of 10 people (50%) answered Yes

Entry

How can I print a frame?
How do i make a picture called print.gif to print the Main Frame when clicked on?

Apr 9th, 2000 07:29
Martin Honnen, Mark Rasmussen,


In NN4+ you just call
  frameReference.print()
e.g.
  parent.frameName.print()
For IE5 you have to set focus on the frame first so you need
  parent.frameName.focus();
  parent.frameName.print();