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?

13 of 41 people (32%) answered Yes
Recently 3 of 10 people (30%) answered Yes

Entry

How do you print a whole frameset on one page?

Jul 12th, 2002 20:36
meng xianhui, Ugo Ejiochi, mengxianhui


<frameset rows="50%,*">
	<frame src="page1.htm" name=page1>
	<frame src="page2.htm" name=page2>
</frameset>
If you want to print all pages in page1.htm,you can do  it  like this:
	parent.page2.focus()
	parent.page2.print()
	window.focus()
	window.print()
It will print page1.htm and page2.htm